llvm-6502/test/DebugInfo/X86
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
..
2010-04-13-PubType.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
2011-09-26-GlobalVarContext.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
2011-12-16-BadStructRef.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
aligned_stack_var.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
arange.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
arguments.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
array2.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
array.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
asm-macro-line-number.s IAS: correct debug line info for asm macros 2014-12-24 06:32:43 +00:00
block-capture.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
byvalstruct.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
c-type-units.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
coff_debug_info_type.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
coff_relative_names.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
concrete_out_of_line.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
constant-aggregate.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
cu-ranges-odr.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
cu-ranges.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
data_member_location.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
dbg_value_direct.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
dbg-asm.s
dbg-at-specficiation.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
dbg-byval-parameter.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-const-int.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-const.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-declare-arg.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-declare.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
dbg-file-name.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-i128-const.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-merge-loc-entry.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-prolog-end.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-subrange.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
dbg-value-const-byref.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
dbg-value-dag-combine.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-value-inlined-parameter.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-value-isel.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-value-location.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-value-range.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
dbg-value-terminator.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
debug_frame.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
debug-dead-local-var.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
debug-info-access.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
debug-info-block-captured-self.ll Update the out-of-date dwarf expressions in these testcases. 2015-03-04 17:39:59 +00:00
debug-info-blocks.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-static-member.ll Emit correct linkage-name attribute based on DWARF version. 2015-03-10 22:44:45 +00:00
debug-loc-asan.ll Use the existing begin and end symbol for debug info. 2015-03-05 02:05:42 +00:00
debug-loc-offset.ll Use the i8 immediate cmp instructions when possible. 2015-03-16 14:25:08 +00:00
debug-ranges-offset.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
decl-derived-member.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
discriminator.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
DW_AT_byte_size.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
DW_AT_linkage_name.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
DW_AT_location-reference.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
DW_AT_object_pointer.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
DW_AT_specification.ll Emit correct linkage-name attribute based on DWARF version. 2015-03-10 22:44:45 +00:00
DW_AT_stmt_list_sec_offset.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
DW_TAG_friend.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
dwarf-aranges-no-dwarf-labels.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
dwarf-aranges.ll Refactor how passes get a symbol at the end of a section. 2015-03-23 21:22:04 +00:00
dwarf-public-names.ll Turn off .debug_pubnames/pubtypes for PS4. 2015-03-05 00:08:27 +00:00
dwarf-pubnames-split.ll Use a better name for compile unit labels. 2015-03-10 03:58:36 +00:00
earlydup-crash.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
elf-names.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
empty-and-one-elem-array.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
empty-array.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
empty.ll Split test in two to handle building without x86. 2015-03-10 23:44:12 +00:00
ending-run.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
enum-class.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
enum-fwd-decl.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
fission-cu.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
fission-hash.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
fission-inline.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
fission-ranges.ll Use the i8 immediate cmp instructions when possible. 2015-03-16 14:25:08 +00:00
float_const.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
formal_parameter.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
frame-register.ll Fix PR22762. When emitting a DWARF expression check whether this is the 2015-03-03 20:12:52 +00:00
generate-odr-hash.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
ghost-sdnode-dbgvalues.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
gmlt.test
gnu-public-names-empty.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
gnu-public-names.ll Emit correct linkage-name attribute based on DWARF version. 2015-03-10 22:44:45 +00:00
header.ll Print section start labels when first switching to the section. 2015-03-11 00:51:37 +00:00
inline-member-function.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
inline-seldag-test.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
InlinedFnLocalVar.ll Relax label CHECK to mach COFF syntax. 2015-03-11 01:08:32 +00:00
instcombine-instrinsics.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
lexical_block.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
line-info.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
line.test Refactor test to be reused across architectures 2015-01-29 20:21:24 +00:00
linkage-name.ll Emit correct linkage-name attribute based on DWARF version. 2015-03-10 22:44:45 +00:00
lit.local.cfg
low-pc-cu.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
main-file-name.s
memberfnptr.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
misched-dbg-value.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
missing-file-line.ll Simplify missing-file-line.ll test. 2015-03-25 17:58:09 +00:00
multiple-aranges.ll Refactor how passes get a symbol at the end of a section. 2015-03-23 21:22:04 +00:00
multiple-at-const-val.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
nodebug_with_debug_loc.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
nondefault-subrange-array.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
nophysreg.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
objc-fwd-decl.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
objc-property-void.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
op_deref.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
parameters.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
pieces-1.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
pieces-2.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
pieces-3.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
pointer-type-size.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
pr11300.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
pr12831.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
pr13303.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
pr19307.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
processes-relocations.ll DebugInfo: Fix testcases that fail -verify-debug-info=true 2015-03-16 21:10:12 +00:00
prologue-stack.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
recursive_inlining.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
ref_addr_relocation.ll Emit the offset directly instead of creating a dummy expression. 2015-03-17 21:30:21 +00:00
reference-argument.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
rvalue-ref.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
sret.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
sroasplit-1.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
sroasplit-2.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
sroasplit-3.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
sroasplit-4.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
sroasplit-5.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
stmt-list-multiple-compile-units.ll Use a better name for compile unit labels. 2015-03-10 03:58:36 +00:00
stmt-list.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
stringpool.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
struct-loc.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
subrange-type.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
subreg.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
subregisters.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
template.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
tls.ll Print section start labels when first switching to the section. 2015-03-11 00:51:37 +00:00
type_units_with_addresses.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
union-const.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
union-template.ll DebugInfo: Fix testcases with invalid MDSubprogram nodes 2015-03-28 02:26:45 +00:00
vector.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
vla.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00