xref: /aosp_15_r20/external/llvm/test/Bitcode/invalid.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-pr20485.bc 2>&1 | \
2*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-ENCODING %s
3*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-abbrev.bc 2>&1 | \
4*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=BAD-ABBREV %s
5*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-unexpected-eof.bc 2>&1 | \
6*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=UNEXPECTED-EOF %s
7*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-bad-abbrev-number.bc 2>&1 | \
8*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=BAD-ABBREV-NUMBER %s
9*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-type-table-forward-ref.bc 2>&1 | \
10*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=BAD-TYPE-TABLE-FORWARD-REF %s
11*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-bitwidth.bc 2>&1 | \
12*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=BAD-BITWIDTH %s
13*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-align.bc  2>&1 | \
14*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=BAD-ALIGN %s
15*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-gep-mismatched-explicit-type.bc 2>&1 | \
16*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=MISMATCHED-EXPLICIT-GEP %s
17*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-load-mismatched-explicit-type.bc 2>&1 | \
18*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=MISMATCHED-EXPLICIT-LOAD %s
19*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-gep-operator-mismatched-explicit-type.bc 2>&1 | \
20*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=MISMATCHED-EXPLICIT-GEP-OPERATOR %s
21*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-call-mismatched-explicit-type.bc 2>&1 | \
22*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=MISMATCHED-EXPLICIT-CALL %s
23*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-call-non-function-explicit-type.bc 2>&1 | \
24*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=NON-FUNCTION-EXPLICIT-CALL %s
25*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-invoke-mismatched-explicit-type.bc 2>&1 | \
26*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=MISMATCHED-EXPLICIT-INVOKE %s
27*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-invoke-non-function-explicit-type.bc 2>&1 | \
28*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=NON-FUNCTION-EXPLICIT-INVOKE %s
29*9880d681SAndroid Build Coastguard Worker
30*9880d681SAndroid Build Coastguard WorkerINVALID-ENCODING: Invalid encoding
31*9880d681SAndroid Build Coastguard WorkerBAD-ABBREV: Abbreviation starts with an Array or a Blob
32*9880d681SAndroid Build Coastguard WorkerUNEXPECTED-EOF: Unexpected end of file
33*9880d681SAndroid Build Coastguard WorkerBAD-ABBREV-NUMBER: Invalid abbrev number
34*9880d681SAndroid Build Coastguard WorkerBAD-TYPE-TABLE-FORWARD-REF: Invalid TYPE table: Only named structs can be forward referenced
35*9880d681SAndroid Build Coastguard WorkerBAD-BITWIDTH: Bitwidth for integer type out of range
36*9880d681SAndroid Build Coastguard WorkerBAD-ALIGN: Invalid alignment value
37*9880d681SAndroid Build Coastguard WorkerMISMATCHED-EXPLICIT-GEP: Explicit gep type does not match pointee type of pointer operand
38*9880d681SAndroid Build Coastguard WorkerMISMATCHED-EXPLICIT-LOAD: Explicit load/store type does not match pointee type of pointer operand
39*9880d681SAndroid Build Coastguard WorkerMISMATCHED-EXPLICIT-GEP-OPERATOR: Explicit gep operator type does not match pointee type of pointer operand
40*9880d681SAndroid Build Coastguard WorkerMISMATCHED-EXPLICIT-CALL: Explicit call type does not match pointee type of callee operand
41*9880d681SAndroid Build Coastguard WorkerNON-FUNCTION-EXPLICIT-CALL: Explicit call type is not a function type
42*9880d681SAndroid Build Coastguard WorkerMISMATCHED-EXPLICIT-INVOKE: Explicit invoke type does not match pointee type of callee operand
43*9880d681SAndroid Build Coastguard WorkerNON-FUNCTION-EXPLICIT-INVOKE: Explicit invoke type is not a function type
44*9880d681SAndroid Build Coastguard Worker
45*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-extractval-array-idx.bc 2>&1 | \
46*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=EXTRACT-ARRAY %s
47*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-extractval-struct-idx.bc 2>&1 | \
48*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=EXTRACT-STRUCT %s
49*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-extractval-too-many-idxs.bc 2>&1 | \
50*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=EXTRACT-IDXS %s
51*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-insertval-array-idx.bc 2>&1 | \
52*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INSERT-ARRAY %s
53*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-insertval-struct-idx.bc 2>&1 | \
54*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INSERT-STRUCT %s
55*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-insertval-too-many-idxs.bc 2>&1 | \
56*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INSERT-IDXS %s
57*9880d681SAndroid Build Coastguard Worker
58*9880d681SAndroid Build Coastguard Worker
59*9880d681SAndroid Build Coastguard WorkerEXTRACT-ARRAY: EXTRACTVAL: Invalid array index
60*9880d681SAndroid Build Coastguard WorkerEXTRACT-STRUCT: EXTRACTVAL: Invalid struct index
61*9880d681SAndroid Build Coastguard WorkerEXTRACT-IDXS: EXTRACTVAL: Invalid type
62*9880d681SAndroid Build Coastguard WorkerINSERT-ARRAY: INSERTVAL: Invalid array index
63*9880d681SAndroid Build Coastguard WorkerINSERT-STRUCT: INSERTVAL: Invalid struct index
64*9880d681SAndroid Build Coastguard WorkerINSERT-IDXS: INSERTVAL: Invalid type
65*9880d681SAndroid Build Coastguard Worker
66*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-no-proper-module.bc 2>&1 | \
67*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=NO-MODULE %s
68*9880d681SAndroid Build Coastguard Worker
69*9880d681SAndroid Build Coastguard WorkerNO-MODULE: Malformed IR file
70*9880d681SAndroid Build Coastguard Worker
71*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-fp-shift.bc 2>&1 | \
72*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=FP-SHIFT %s
73*9880d681SAndroid Build Coastguard Worker
74*9880d681SAndroid Build Coastguard WorkerFP-SHIFT: Invalid record
75*9880d681SAndroid Build Coastguard Worker
76*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-abbrev-vbr-size-too-big.bc 2>&1 | \
77*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=HUGE-ABBREV-OP %s
78*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-abbrev-fixed-size-too-big.bc 2>&1 | \
79*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=HUGE-ABBREV-OP %s
80*9880d681SAndroid Build Coastguard Worker
81*9880d681SAndroid Build Coastguard WorkerHUGE-ABBREV-OP: Fixed or VBR abbrev record with size > MaxChunkData
82*9880d681SAndroid Build Coastguard Worker
83*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-array-type.bc 2>&1 | \
84*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=ARRAY-TYPE %s
85*9880d681SAndroid Build Coastguard Worker
86*9880d681SAndroid Build Coastguard WorkerARRAY-TYPE: Array element type can't be an Array or a Blob
87*9880d681SAndroid Build Coastguard Worker
88*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-non-vector-extractelement.bc 2>&1 | \
89*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-TYPE %s
90*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-non-vector-insertelement.bc 2>&1 | \
91*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-TYPE %s
92*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-non-vector-shufflevector.bc 2>&1 | \
93*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-TYPE %s
94*9880d681SAndroid Build Coastguard Worker
95*9880d681SAndroid Build Coastguard WorkerINVALID-TYPE: Invalid type for value
96*9880d681SAndroid Build Coastguard Worker
97*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-fwdref-type-mismatch.bc 2>&1 | \
98*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=FWDREF-TYPE %s
99*9880d681SAndroid Build Coastguard Worker
100*9880d681SAndroid Build Coastguard WorkerFWDREF-TYPE: Invalid record
101*9880d681SAndroid Build Coastguard Worker
102*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-fwdref-type-mismatch-2.bc 2>&1 | \
103*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=FWDREF-TYPE-MISMATCH %s
104*9880d681SAndroid Build Coastguard Worker
105*9880d681SAndroid Build Coastguard WorkerFWDREF-TYPE-MISMATCH: Type mismatch in constant table!
106*9880d681SAndroid Build Coastguard Worker
107*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-array-element-type.bc 2>&1 | \
108*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=ELEMENT-TYPE %s
109*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-vector-element-type.bc 2>&1 | \
110*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=ELEMENT-TYPE %s
111*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-pointer-element-type.bc 2>&1 | \
112*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=ELEMENT-TYPE %s
113*9880d681SAndroid Build Coastguard Worker
114*9880d681SAndroid Build Coastguard WorkerELEMENT-TYPE: Invalid type
115*9880d681SAndroid Build Coastguard Worker
116*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-cast.bc 2>&1 | \
117*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-CAST %s
118*9880d681SAndroid Build Coastguard Worker
119*9880d681SAndroid Build Coastguard WorkerINVALID-CAST: Invalid cast
120*9880d681SAndroid Build Coastguard Worker
121*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-array-op-not-2nd-to-last.bc 2>&1 | \
122*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=ARRAY-NOT-2LAST %s
123*9880d681SAndroid Build Coastguard Worker
124*9880d681SAndroid Build Coastguard WorkerARRAY-NOT-2LAST: Array op not second to last
125*9880d681SAndroid Build Coastguard Worker
126*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-too-big-fwdref.bc 2>&1 | \
127*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=HUGE-FWDREF %s
128*9880d681SAndroid Build Coastguard Worker
129*9880d681SAndroid Build Coastguard WorkerHUGE-FWDREF: Invalid record
130*9880d681SAndroid Build Coastguard Worker
131*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-load-pointer-type.bc 2>&1 | \
132*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=LOAD-BAD-TYPE %s
133*9880d681SAndroid Build Coastguard Worker
134*9880d681SAndroid Build Coastguard WorkerLOAD-BAD-TYPE: Load/Store operand is not a pointer type
135*9880d681SAndroid Build Coastguard Worker
136*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-GCTable-overflow.bc 2>&1 | \
137*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=GCTABLE-OFLOW %s
138*9880d681SAndroid Build Coastguard Worker
139*9880d681SAndroid Build Coastguard WorkerGCTABLE-OFLOW: Invalid ID
140*9880d681SAndroid Build Coastguard Worker
141*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-insert-0-indices.bc 2>&1 | \
142*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INSERT-0-IDXS %s
143*9880d681SAndroid Build Coastguard Worker
144*9880d681SAndroid Build Coastguard WorkerINSERT-0-IDXS: INSERTVAL: Invalid instruction with 0 indices
145*9880d681SAndroid Build Coastguard Worker
146*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-extract-0-indices.bc 2>&1 | \
147*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=EXTRACT-0-IDXS %s
148*9880d681SAndroid Build Coastguard Worker
149*9880d681SAndroid Build Coastguard WorkerEXTRACT-0-IDXS: EXTRACTVAL: Invalid instruction with 0 indices
150*9880d681SAndroid Build Coastguard Worker
151*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-load-ptr-type.bc 2>&1 | \
152*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=BAD-LOAD-PTR-TYPE %s
153*9880d681SAndroid Build Coastguard Worker
154*9880d681SAndroid Build Coastguard WorkerBAD-LOAD-PTR-TYPE: Cannot load/store from pointer
155*9880d681SAndroid Build Coastguard Worker
156*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-inserted-value-type-mismatch.bc 2>&1 | \
157*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INSERT-TYPE-MISMATCH %s
158*9880d681SAndroid Build Coastguard Worker
159*9880d681SAndroid Build Coastguard WorkerINSERT-TYPE-MISMATCH: Inserted value type doesn't match aggregate type
160*9880d681SAndroid Build Coastguard Worker
161*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-code-len-width.bc 2>&1 | \
162*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-CODELENWIDTH %s
163*9880d681SAndroid Build Coastguard Worker
164*9880d681SAndroid Build Coastguard WorkerINVALID-CODELENWIDTH: Malformed block
165*9880d681SAndroid Build Coastguard Worker
166*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-function-argument-type.bc 2>&1 | \
167*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-ARGUMENT-TYPE %s
168*9880d681SAndroid Build Coastguard Worker
169*9880d681SAndroid Build Coastguard WorkerINVALID-ARGUMENT-TYPE: Invalid function argument type
170*9880d681SAndroid Build Coastguard Worker
171*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-function-comdat-id.bc 2>&1 | \
172*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-FCOMDAT-ID %s
173*9880d681SAndroid Build Coastguard Worker
174*9880d681SAndroid Build Coastguard WorkerINVALID-FCOMDAT-ID: Invalid function comdat ID
175*9880d681SAndroid Build Coastguard Worker
176*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-global-var-comdat-id.bc 2>&1 | \
177*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=INVALID-GVCOMDAT-ID %s
178*9880d681SAndroid Build Coastguard Worker
179*9880d681SAndroid Build Coastguard WorkerINVALID-GVCOMDAT-ID: Invalid global variable comdat ID
180*9880d681SAndroid Build Coastguard Worker
181*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-abbrev-no-operands.bc 2>&1 | \
182*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=ABBREV-NO-OPS %s
183*9880d681SAndroid Build Coastguard Worker
184*9880d681SAndroid Build Coastguard WorkerABBREV-NO-OPS: Abbrev record with no operands
185*9880d681SAndroid Build Coastguard Worker
186*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-array-operand-encoding.bc 2>&1 | \
187*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=ARRAY-OP-ENC %s
188*9880d681SAndroid Build Coastguard Worker
189*9880d681SAndroid Build Coastguard WorkerARRAY-OP-ENC: Array element type has to be an encoding of a type
190*9880d681SAndroid Build Coastguard Worker
191*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-metadata-not-followed-named-node.bc 2>&1 | \
192*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=META-NOT-FOLLOWED-BY-NAMED-META %s
193*9880d681SAndroid Build Coastguard Worker
194*9880d681SAndroid Build Coastguard WorkerMETA-NOT-FOLLOWED-BY-NAMED-META: METADATA_NAME not followed by METADATA_NAMED_NODE
195*9880d681SAndroid Build Coastguard Worker
196*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-vector-length.bc 2>&1 | \
197*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=VECTOR-LENGTH %s
198*9880d681SAndroid Build Coastguard Worker
199*9880d681SAndroid Build Coastguard WorkerVECTOR-LENGTH: Invalid vector length
200*9880d681SAndroid Build Coastguard Worker
201*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-alias-type-mismatch.bc 2>&1 | \
202*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=ALIAS-TYPE-MISMATCH %s
203*9880d681SAndroid Build Coastguard Worker
204*9880d681SAndroid Build Coastguard WorkerALIAS-TYPE-MISMATCH: Alias and aliasee types don't match
205*9880d681SAndroid Build Coastguard Worker
206*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-no-function-block.bc 2>&1 | \
207*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=NO-FUNCTION-BLOCK %s
208*9880d681SAndroid Build Coastguard Worker
209*9880d681SAndroid Build Coastguard WorkerNO-FUNCTION-BLOCK: Trying to materialize functions before seeing function blocks
210*9880d681SAndroid Build Coastguard Worker
211*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-name-with-0-byte.bc 2>&1 | \
212*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=NAME-WITH-0 %s
213*9880d681SAndroid Build Coastguard Worker
214*9880d681SAndroid Build Coastguard WorkerNAME-WITH-0: Invalid value name
215*9880d681SAndroid Build Coastguard Worker
216*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-void-constant.bc 2>&1 | \
217*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=VOID-CONSTANT-TYPE %s
218*9880d681SAndroid Build Coastguard Worker
219*9880d681SAndroid Build Coastguard WorkerVOID-CONSTANT-TYPE: Invalid constant type
220*9880d681SAndroid Build Coastguard Worker
221*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-gep-no-operands.bc 2>&1 | \
222*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=GEP-NO-OPERANDS %s
223*9880d681SAndroid Build Coastguard Worker
224*9880d681SAndroid Build Coastguard WorkerGEP-NO-OPERANDS: Invalid gep with no operands
225*9880d681SAndroid Build Coastguard Worker
226*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-nonpointer-storeatomic.bc 2>&1 | \
227*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=NONPOINTER-STOREATOMIC %s
228*9880d681SAndroid Build Coastguard Worker
229*9880d681SAndroid Build Coastguard WorkerNONPOINTER-STOREATOMIC: Invalid record
230*9880d681SAndroid Build Coastguard Worker
231*9880d681SAndroid Build Coastguard WorkerRUN: not llvm-dis -disable-output %p/Inputs/invalid-nonpointer-atomicrmw.bc 2>&1 | \
232*9880d681SAndroid Build Coastguard WorkerRUN:   FileCheck --check-prefix=NONPOINTER-ATOMICRMW %s
233*9880d681SAndroid Build Coastguard Worker
234*9880d681SAndroid Build Coastguard WorkerNONPOINTER-ATOMICRMW: Invalid record
235