llvm-6502/test/Assembler
Duncan P. N. Exon Smith d397a52305 DebugInfo: Fix testcases with invalid MDSubprogram nodes
Fix testcases that don't pass the verifier after a WIP patch to check
`MDSubprogram` operands more effectively.  I found the following issues:

  - When `isDefinition: false`, the `variables:` field might point at
    `!{i32 786468}`, or at a tuple that pointed at an empty tuple with
    the comment "previously: invalid DW_TAG_base_type" (I vaguely recall
    adding those comments during an upgrade script).  In these cases, I
    just dropped the array.
  - The `variables:` field might point at something like `!{!{!8}}`,
    where `!8` was an `MDLocation`.  I removed the extra layer of
    indirection.
  - Invalid `type:` (not an `MDSubroutineType`).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233466 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-28 02:26:45 +00:00
..
2002-03-08-NameCollision2.ll
2002-03-08-NameCollision.ll
2002-04-07-HexFloatConstants.ll
2002-04-07-InfConstant.ll
2002-04-29-NameBinding.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2002-05-02-InvalidForwardRef.ll
2002-07-14-OpaqueType.ll
2002-07-25-QuoteInString.ll
2002-07-25-ReturnPtrFunction.ll
2002-07-31-SlashInString.ll
2002-08-15-CastAmbiguity.ll
2002-08-15-ConstantExprProblem.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2002-08-15-UnresolvedGlobalReference.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2002-08-16-ConstExprInlined.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2002-08-19-BytecodeReader.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2002-08-22-DominanceProblem.ll
2002-10-08-LargeArrayPerformance.ll
2002-10-13-ConstantEncodingProblem.ll
2002-12-15-GlobalResolve.ll
2003-01-30-UnsignedString.ll
2003-04-15-ConstantInitAssertion.ll
2003-04-25-UnresolvedGlobalReference.ll
2003-05-03-BytecodeReaderProblem.ll
2003-05-12-MinIntProblem.ll
2003-05-15-AssemblerProblem.ll
2003-05-15-SwitchBug.ll
2003-05-21-ConstantShiftExpr.ll
2003-05-21-EmptyStructTest.ll
2003-05-21-MalformedShiftCrash.ll
2003-05-21-MalformedStructCrash.ll
2003-08-20-ConstantExprGEP-Fold.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2003-08-21-ConstantExprCast-Fold.ll
2003-11-05-ConstantExprShift.ll
2003-11-11-ImplicitRename.ll
2003-11-12-ConstantExprCast.ll
2003-11-24-SymbolTableCrash.ll
2004-01-11-getelementptrfolding.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2004-01-20-MaxLongLong.ll
2004-02-01-NegativeZero.ll
2004-02-27-SelfUseAssertError.ll
2004-03-07-FunctionAddressAlignment.ll
2004-03-30-UnclosedFunctionCrash.ll
2004-04-04-GetElementPtrIndexTypes.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
2004-06-07-VerifierBug.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2004-10-22-BCWriterUndefBug.ll
2004-11-28-InvalidTypeCrash.ll
2005-01-03-FPConstantDisassembly.ll
2005-01-31-CallingAggregateFunction.ll
2005-05-05-OpaqueUndefValues.ll
2005-12-21-ZeroInitVector.ll
2006-09-28-CrashOnInvalid.ll
2006-12-09-Cast-To-Bool.ll
2007-01-02-Undefined-Arg-Type.ll
2007-01-05-Cmp-ConstExpr.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2007-01-16-CrashOnBadCast2.ll
2007-01-16-CrashOnBadCast.ll
2007-03-18-InvalidNumberedVar.ll
2007-03-19-NegValue.ll
2007-04-20-AlignedLoad.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
2007-04-20-AlignedStore.ll
2007-04-25-AssemblerFoldExternWeak.ll
2007-05-21-Escape.ll
2007-07-19-ParamAttrAmbiguity.ll
2007-08-06-AliasInvalid.ll
2007-09-10-AliasFwdRef.ll
2007-09-29-GC.ll
2007-11-26-AttributeOverload.ll
2007-12-11-AddressSpaces.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2008-01-11-VarargAttrs.ll
2008-02-18-IntPointerCrash.ll
2008-07-10-APInt.ll
2008-09-02-FunctionNotes2.ll
2008-09-02-FunctionNotes.ll
2008-09-29-RetAttr.ll
2008-10-14-QuoteInName.ll
2009-02-01-UnnamedForwardRef.ll
2009-02-28-CastOpc.ll
2009-02-28-StripOpaqueName.ll
2009-03-24-ZextConstantExpr.ll
2009-07-24-ZeroArgGEP.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
2010-02-05-FunctionLocalMetadataBecomesNull.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
addrspacecast-alias.ll
aggregate-constant-values.ll
aggregate-return-single-value.ll
alias-redefinition.ll
alias-use-list-order.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
align-inst-alloca.ll
align-inst-load.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
align-inst-store.ll
align-inst.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
alignstack.ll
alloca-invalid-type-2.ll AsmParser: Reject alloca with function type 2015-02-16 08:38:03 +00:00
alloca-invalid-type.ll AsmParser: Reject alloca with function type 2015-02-16 08:38:03 +00:00
alloca-size-one.ll AsmWriter: Write alloca array size explicitly (and -instcombine fixup) 2015-03-13 19:30:44 +00:00
anon-functions.ll
atomic.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
attribute-builtin.ll
auto_upgrade_intrinsics.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
bcwrap.ll
call-invalid-1.ll AsmParser: Call instructions can't have an alignment 2015-02-23 00:01:32 +00:00
comment.ll
ConstantExprFold.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
ConstantExprFoldCast.ll
ConstantExprFoldSelect.ll
ConstantExprNoFold.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
debug-info.ll Optimize metadata node fields for CHECK-ability 2015-02-28 23:21:38 +00:00
distinct-mdnode.ll
drop-debug-info.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
externally-initialized.ll
extractvalue-invalid-idx.ll
extractvalue-no-idx.ll AsmParser: extractvalue requires at least one index operand 2015-02-16 09:18:13 +00:00
fast-math-flags.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
flags.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
generic-debug-node.ll
getelementptr_invalid_ptr.ll LLParser: gep: Simplify parsing error handling 2015-03-09 23:08:44 +00:00
getelementptr_struct.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr_vec_idx1.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr_vec_idx2.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr_vec_idx3.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr_vec_idx4.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
getelementptr_vec_struct.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
getelementptr.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
getInt.ll
global-addrspace-forwardref.ll
gv-invalid-type.ll AsmParser: Make sure GlobalVariables have sane types 2015-02-16 08:41:08 +00:00
half-constprop.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
half-conv.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
half.ll
huge-array.ll
inalloca.ll
inline-asm-clobber.ll
insertextractvalue.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
insertvalue-invalid-idx.ll
insertvalue-invalid-type-1.ll AsmParser: Check ConstantExpr insertvalue operands for type correctness 2015-02-23 07:13:52 +00:00
insertvalue-invalid-type.ll
internal-hidden-alias.ll
internal-hidden-function.ll
internal-hidden-variable.ll
internal-protected-alias.ll
internal-protected-function.ll
internal-protected-variable.ll
invalid_cast2.ll
invalid_cast3.ll
invalid_cast4.ll IR: SrcTy == DstTy doesn't imply that a cast is valid 2015-02-16 09:37:35 +00:00
invalid_cast.ll
invalid-attrgrp.ll
invalid-comdat2.ll
invalid-comdat.ll
invalid-datalayout1.ll
invalid-datalayout2.ll
invalid-datalayout3.ll
invalid-datalayout4.ll
invalid-datalayout5.ll
invalid-datalayout6.ll
invalid-datalayout7.ll
invalid-datalayout8.ll
invalid-datalayout9.ll
invalid-datalayout10.ll
invalid-datalayout11.ll
invalid-datalayout12.ll
invalid-datalayout13.ll
invalid-datalayout14.ll
invalid-datalayout15.ll DataLayout: Report when the datalayout type alignment/width is too large 2015-02-16 05:41:53 +00:00
invalid-datalayout16.ll DataLayout: Report when the datalayout type alignment/width is too large 2015-02-16 05:41:53 +00:00
invalid-datalayout17.ll DataLayout: Report when the datalayout type alignment/width is too large 2015-02-16 05:41:53 +00:00
invalid-datalayout18.ll DataLayout: Validate that the pref alignment is at least the ABI align 2015-02-16 05:41:55 +00:00
invalid-datalayout19.ll Teach DataLayout that zero-byte pointer sizes don't make sense. 2015-03-02 06:00:02 +00:00
invalid-datalayout20.ll Teach DataLayout that pointer ABI and preferred alignments are required to be powers of two. 2015-03-02 06:33:51 +00:00
invalid-datalayout21.ll Teach DataLayout that pointer ABI and preferred alignments are required to be powers of two. 2015-03-02 06:33:51 +00:00
invalid-datalayout22.ll Teach DataLayout that ABI alignments for non-aggregate types must be non-zero. 2015-03-02 09:34:59 +00:00
invalid-datalayout23.ll Teach DataLayout that alignments on basic types must be powers of two. 2015-03-02 09:35:03 +00:00
invalid-datalayout24.ll Teach DataLayout that alignments on basic types must be powers of two. 2015-03-02 09:35:03 +00:00
invalid-debug-info-version.ll DebugInfo: Don't crash if 'Debug Info Version' has a strange value 2015-02-16 06:04:53 +00:00
invalid-fwdref1.ll
invalid-fwdref2.ll
invalid-generic-debug-node-tag-bad.ll
invalid-generic-debug-node-tag-missing.ll
invalid-generic-debug-node-tag-overflow.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-generic-debug-node-tag-wrong-type.ll
invalid-gep-mismatched-explicit-type.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
invalid-gep-missing-explicit-type.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
invalid-hexint.ll
invalid-label.ll Teach the LLParser to fail gracefully when it encounters an invalid label name. 2015-03-02 05:25:09 +00:00
invalid-landingpad.ll Fix a bug in the LLParser where we failed to diagnose landingpads with non-constant clause operands. 2015-03-09 07:13:42 +00:00
invalid-load-mismatched-explicit-type.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
invalid-load-missing-explicit-type.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
invalid-mdcompileunit-language-bad.ll
invalid-mdcompileunit-language-overflow.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdcompileunit-missing-language.ll
invalid-mdcompositetype-missing-tag.ll
invalid-mdderivedtype-missing-basetype.ll
invalid-mdderivedtype-missing-tag.ll
invalid-mdenumerator-missing-name.ll
invalid-mdenumerator-missing-value.ll
invalid-mdexpression-large.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdexpression-verify.ll AsmWriter/Bitcode: MDExpression 2015-02-13 01:42:09 +00:00
invalid-mdfile-missing-directory.ll
invalid-mdfile-missing-filename.ll
invalid-mdimportedentity-missing-parent.ll AsmWriter/Bitcode: MDImportedEntity 2015-02-13 01:46:02 +00:00
invalid-mdimportedentity-missing-tag.ll AsmWriter/Bitcode: MDImportedEntity 2015-02-13 01:46:02 +00:00
invalid-mdlexicalblock-missing-parent.ll
invalid-mdlexicalblockfile-missing-discriminator.ll
invalid-mdlexicalblockfile-missing-parent.ll
invalid-mdlocalvariable-missing-scope.ll Verifier: Check fields of MDVariable subclasses 2015-03-27 17:29:58 +00:00
invalid-mdlocalvariable-missing-tag.ll Verifier: Check fields of MDVariable subclasses 2015-03-27 17:29:58 +00:00
invalid-mdlocalvariable-null-scope.ll LLParser: Require non-null scope for MDLocation and MDLocalVariable 2015-03-27 17:56:39 +00:00
invalid-mdlocation-field-bad.ll
invalid-mdlocation-field-twice.ll
invalid-mdlocation-missing-scope-2.ll
invalid-mdlocation-missing-scope.ll
invalid-mdlocation-null-scope.ll LLParser: Require non-null scope for MDLocation and MDLocalVariable 2015-03-27 17:56:39 +00:00
invalid-mdlocation-overflow-column.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdlocation-overflow-line.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdnamespace-missing-namespace.ll AsmWriter/Bitcode: MDNamespace 2015-02-13 01:32:09 +00:00
invalid-mdnode-badref.ll
invalid-mdnode-vector2.ll
invalid-mdnode-vector.ll
invalid-mdsubrange-count-large.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdsubrange-count-missing.ll
invalid-mdsubrange-count-negative.ll Prevent CHECK-NOTs from matching file paths 2015-03-22 15:58:21 +00:00
invalid-mdsubrange-lowerBound-max.ll
invalid-mdsubrange-lowerBound-min.ll
invalid-mdsubroutinetype-missing-types.ll AsmParser/Writer: Handle symbolic constants in DI 'flags:' 2015-02-21 01:02:18 +00:00
invalid-mdtemplatetypeparameter-missing-type.ll IR: Drop scope from MDTemplateParameter 2015-02-19 00:37:21 +00:00
invalid-mdtemplatevalueparameter-missing-value.ll IR: Drop scope from MDTemplateParameter 2015-02-19 00:37:21 +00:00
invalid-metadata-attachment-has-type.ll
invalid-metadata-function-local-attachments.ll
invalid-metadata-function-local-complex-1.ll
invalid-metadata-function-local-complex-2.ll
invalid-metadata-function-local-complex-3.ll
invalid-metadata-has-type.ll
invalid-name2.ll
invalid-name.ll
invalid-specialized-mdnode.ll
invalid-uselistorder_bb-missing-bb.ll
invalid-uselistorder_bb-missing-body.ll
invalid-uselistorder_bb-missing-func.ll
invalid-uselistorder_bb-not-bb.ll
invalid-uselistorder_bb-not-func.ll
invalid-uselistorder_bb-numbered.ll
invalid-uselistorder-function-between-blocks.ll
invalid-uselistorder-function-missing-named.ll
invalid-uselistorder-function-missing-numbered.ll
invalid-uselistorder-global-missing.ll
invalid-uselistorder-indexes-duplicated.ll
invalid-uselistorder-indexes-empty.ll
invalid-uselistorder-indexes-one.ll
invalid-uselistorder-indexes-ordered.ll
invalid-uselistorder-indexes-range.ll
invalid-uselistorder-indexes-toofew.ll
invalid-uselistorder-indexes-toomany.ll
invalid-uselistorder-type.ll
large-comdat.ll
mdcompileunit.ll IR: Change MDFile to directly store the filename/directory 2015-02-20 20:35:17 +00:00
mdexpression.ll AsmWriter/Bitcode: MDExpression 2015-02-13 01:42:09 +00:00
mdfile-escaped-chars.ll AsmWriter: Escape string fields in metadata 2015-02-28 22:20:16 +00:00
mdglobalvariable.ll Verifier: Check fields of MDVariable subclasses 2015-03-27 17:29:58 +00:00
mdimportedentity.ll Optimize metadata node fields for CHECK-ability 2015-02-28 23:21:38 +00:00
mdlexicalblock.ll IR: Change MDFile to directly store the filename/directory 2015-02-20 20:35:17 +00:00
mdlocalvariable.ll Verifier: Check fields of MDVariable subclasses 2015-03-27 17:29:58 +00:00
mdlocation.ll Verifier: Check accessors of MDLocation 2015-03-26 22:05:04 +00:00
mdnamespace.ll Optimize metadata node fields for CHECK-ability 2015-02-28 23:21:38 +00:00
mdobjcproperty.ll AsmParser: Stop requiring 'name:' when it's not printed 2015-03-16 19:01:54 +00:00
mdsubprogram.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
mdsubrange-empty-array.ll IR: Allow MDSubrange to have 'count: -1' 2015-02-18 23:17:51 +00:00
mdtemplateparameter.ll Optimize metadata node fields for CHECK-ability 2015-02-28 23:21:38 +00:00
mdtype-large-values.ll Optimize metadata node fields for CHECK-ability 2015-02-28 23:21:38 +00:00
metadata-function-local.ll Assembler: Rewrite test for function-local metadata 2015-03-15 00:45:51 +00:00
metadata-null-operands.ll Bitcode: Stop assuming non-null fields 2015-02-20 03:17:58 +00:00
metadata.ll Verifier: Check accessors of MDLocation 2015-03-26 22:05:04 +00:00
MultipleReturnValueType.ll
musttail-invalid-1.ll
musttail-invalid-2.ll
musttail.ll
named-metadata.ll
numbered-values.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
private-hidden-alias.ll
private-hidden-function.ll
private-hidden-variable.ll
private-protected-alias.ll
private-protected-function.ll
private-protected-variable.ll
select.ll
short-hexpair.ll
tls-models.ll
unnamed-addr.ll
unnamed-comdat.ll
unnamed.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
unsized-recursive-type.ll Fix a stack overflow in the assembler when checking that GEPs must be over sized types. 2015-03-10 06:34:57 +00:00
upgrade-loop-metadata.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
uselistorder_bb.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
uselistorder.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
vbool-cmp.ll
vector-cmp.ll
vector-select.ll
vector-shift.ll
x86mmx.ll