mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
[opaque pointer type] bitcode: add explicit callee type to invoke instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235735 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
BIN
test/Bitcode/Inputs/invalid-invoke-mismatched-explicit-type.bc
Normal file
BIN
test/Bitcode/Inputs/invalid-invoke-mismatched-explicit-type.bc
Normal file
Binary file not shown.
BIN
test/Bitcode/Inputs/invalid-invoke-non-function-explicit-type.bc
Normal file
BIN
test/Bitcode/Inputs/invalid-invoke-non-function-explicit-type.bc
Normal file
Binary file not shown.
@ -22,6 +22,10 @@ RUN: not llvm-dis -disable-output %p/Inputs/invalid-call-mismatched-explicit-typ
|
||||
RUN: FileCheck --check-prefix=MISMATCHED-EXPLICIT-CALL %s
|
||||
RUN: not llvm-dis -disable-output %p/Inputs/invalid-call-non-function-explicit-type.bc 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=NON-FUNCTION-EXPLICIT-CALL %s
|
||||
RUN: not llvm-dis -disable-output %p/Inputs/invalid-invoke-mismatched-explicit-type.bc 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=MISMATCHED-EXPLICIT-INVOKE %s
|
||||
RUN: not llvm-dis -disable-output %p/Inputs/invalid-invoke-non-function-explicit-type.bc 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=NON-FUNCTION-EXPLICIT-INVOKE %s
|
||||
|
||||
INVALID-ENCODING: Invalid encoding
|
||||
BAD-ABBREV: Abbreviation starts with an Array or a Blob
|
||||
@ -35,6 +39,8 @@ MISMATCHED-EXPLICIT-LOAD: Explicit load type does not match pointee type of poin
|
||||
MISMATCHED-EXPLICIT-GEP-OPERATOR: Explicit gep operator type does not match pointee type of pointer operand
|
||||
MISMATCHED-EXPLICIT-CALL: Explicit call type does not match pointee type of callee operand
|
||||
NON-FUNCTION-EXPLICIT-CALL: Explicit call type is not a function type
|
||||
MISMATCHED-EXPLICIT-INVOKE: Explicit invoke type does not match pointee type of callee operand
|
||||
NON-FUNCTION-EXPLICIT-INVOKE: Explicit invoke type is not a function type
|
||||
|
||||
RUN: not llvm-dis -disable-output %p/Inputs/invalid-extractval-array-idx.bc 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=EXTRACT-ARRAY %s
|
||||
|
Reference in New Issue
Block a user