llvm-6502/test/DebugInfo
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
..
AArch64
ARM
COFF
Inputs
Mips
PDB
PowerPC
Sparc
SystemZ
X86 DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
2009-10-16-Phi.ll
2009-11-03-InsertExtractValue.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
2009-11-05-DeadGlobalVariable.ll
2009-11-06-NamelessGlobalVariable.ll
2009-11-10-CurrentFn.ll
2010-01-05-DbgScope.ll
2010-03-12-llc-crash.ll
2010-03-19-DbgDeclare.ll
2010-03-24-MemberFn.ll
2010-04-06-NestedFnDbgInfo.ll
2010-04-19-FramePtr.ll
2010-05-03-DisableFramePtr.ll
2010-05-03-OriginDIE.ll
2010-05-10-MultipleCU.ll
2010-06-29-InlinedFnLocalVar.ll
2010-07-19-Crash.ll
2010-10-01-crash.ll
accel-table-hash-collisions.ll
arm-relocs.test
array.ll
block-asan.ll
bug_null_debuginfo.ll
constant-pointers.ll
cross-cu-inlining.ll
cross-cu-linkonce-distinct.ll
cross-cu-linkonce.ll
cu-range-hole.ll
cu-ranges.ll
dead-argument-order.ll
debug-info-always-inline.ll
debug-info-qualifiers.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
debuginfofinder-multiple-cu.ll
debuglineinfo.test
dwarf-public-names.ll
dwarfdump-accel.test
dwarfdump-debug-frame-simple.test
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test
dwarfdump-line-dwo.test
dwarfdump-objc.test
dwarfdump-pubnames.test
dwarfdump-ranges.test
dwarfdump-type-units.test
dwarfdump-zlib.test
empty.ll
enum-types.ll
enum.ll
global.ll
gmlt.test
incorrect-variable-debugloc1.ll
incorrect-variable-debugloc.ll
inheritance.ll
inline-debug-info-multiret.ll
inline-debug-info.ll
inline-no-debug-info.ll
inline-scopes.ll
inlined-arguments.ll
inlined-vars.ll
llvm-symbolizer-zlib.test
llvm-symbolizer.test
location-verifier.ll
lto-comp-dir.ll
member-order.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
member-pointers.ll
member-pointers.o
missing-abstract-variable.ll
missing-abstract-variable.o
multiline.ll
namespace_function_definition.ll
namespace_inline_function_definition.ll
namespace.ll
nodebug.ll
piece-verifier.ll
PR20038.ll
restrict.ll
sugared-constants.ll
template-recursive-void.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
tu-composite.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
tu-member-pointer.ll
two-cus-from-same-file.ll
typedef.ll
unconditional-branch.ll
varargs.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
version.ll