llvm/test/DebugInfo/Inputs
Duncan P. N. Exon Smith b056aa798d DebugInfo: Move new hierarchy into place
Move the specialized metadata nodes for the new debug info hierarchy
into place, finishing off PR22464.  I've done bootstraps (and all that)
and I'm confident this commit is NFC as far as DWARF output is
concerned.  Let me know if I'm wrong :).

The code changes are fairly mechanical:

  - Bumped the "Debug Info Version".
  - `DIBuilder` now creates the appropriate subclass of `MDNode`.
  - Subclasses of DIDescriptor now expect to hold their "MD"
    counterparts (e.g., `DIBasicType` expects `MDBasicType`).
  - Deleted a ton of dead code in `AsmWriter.cpp` and `DebugInfo.cpp`
    for printing comments.
  - Big update to LangRef to describe the nodes in the new hierarchy.
    Feel free to make it better.

Testcase changes are enormous.  There's an accompanying clang commit on
its way.

If you have out-of-tree debug info testcases, I just broke your build.

  - `upgrade-specialized-nodes.sh` is attached to PR22564.  I used it to
    update all the IR testcases.
  - Unfortunately I failed to find way to script the updates to CHECK
    lines, so I updated all of these by hand.  This was fairly painful,
    since the old CHECKs are difficult to reason about.  That's one of
    the benefits of the new hierarchy.

This work isn't quite finished, BTW.  The `DIDescriptor` subclasses are
almost empty wrappers, but not quite: they still have loose casting
checks (see the `RETURN_FROM_RAW()` macro).  Once they're completely
gutted, I'll rename the "MD" classes to "DI" and kill the wrappers.  I
also expect to make a few schema changes now that it's easier to reason
about everything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231082 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-03 17:24:31 +00:00
..
arange-overlap.cc [DWARF parser] Fix broken address ranges construction. 2014-06-12 23:58:49 +00:00
arange-overlap.elf-x86_64 [DWARF parser] Fix broken address ranges construction. 2014-06-12 23:58:49 +00:00
arm-relocs.elf-arm Add support for the R_ARM_ABS32 relocation. 2014-04-03 02:27:00 +00:00
cross-cu-inlining.c Allow DWARFDebugInfoEntryMinimal::getSubroutineName to resolve cross-unit references. 2014-09-22 12:35:53 +00:00
cross-cu-inlining.x86_64-macho.o Allow DWARFDebugInfoEntryMinimal::getSubroutineName to resolve cross-unit references. 2014-09-22 12:35:53 +00:00
dwarfdump-inl-test.cc Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555. 2013-10-30 20:27:17 +00:00
dwarfdump-inl-test.elf-x86-64 Omit DW_TAG_subprograms for subprograms without inlined subroutines when producing -gmlt data 2014-09-19 17:03:16 +00:00
dwarfdump-inl-test.h Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-inl-test.high_pc.elf-x86-64 Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555. 2013-10-30 20:27:17 +00:00
dwarfdump-line-dwo.cc llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
dwarfdump-line-dwo.elf-x86-64 llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
dwarfdump-objc.m [dwarfdump] Prettyprint DW_AT_APPLE_property_attribute bitfield values. 2014-10-10 15:51:10 +00:00
dwarfdump-objc.x86_64.o [dwarfdump] Prettyprint DW_AT_APPLE_property_attribute bitfield values. 2014-10-10 15:51:10 +00:00
dwarfdump-pubnames.cc Add testcase for llvm-dwarfdump to test parsing of the pubnames data. 2013-02-14 16:10:58 +00:00
dwarfdump-pubnames.elf-x86-64 Add testcase for llvm-dwarfdump to test parsing of the pubnames data. 2013-02-14 16:10:58 +00:00
dwarfdump-test2-helper.cc Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test2-main.cc Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test2.elf-x86-64 Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test3-decl2.h Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test3-decl.h Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test3.cc Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test3.elf-x86-64 space llvm-symbolizer: correctly parse filenames given in quotes 2013-04-05 09:22:24 +00:00
dwarfdump-test4-decl.h Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test4-part1.cc Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test4-part2.cc Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test4.elf-x86-64 Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test-32bit.elf.c Add a test for checking the current .debug_frame dumping capability. 2013-02-06 20:55:06 +00:00
dwarfdump-test-32bit.elf.o Add a test for checking the current .debug_frame dumping capability. 2013-02-06 20:55:06 +00:00
dwarfdump-test-loc-list-32bit.elf.cpp llvm-dwarfdump: Add support for dumping the .debug_loc section 2013-06-19 21:37:13 +00:00
dwarfdump-test-loc-list-32bit.elf.o llvm-dwarfdump: Add support for dumping the .debug_loc section 2013-06-19 21:37:13 +00:00
dwarfdump-test-zlib.cc Use zlib to uncompress debug sections in DWARF parser. 2013-04-23 10:17:34 +00:00
dwarfdump-test-zlib.elf-x86-64 Use zlib to uncompress debug sections in DWARF parser. 2013-04-23 10:17:34 +00:00
dwarfdump-test.cc Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test.elf-x86-64 Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-test.elf-x86-64.debuglink llvm-symbolizer: add support for .gnu_debuglink section 2013-08-14 17:09:30 +00:00
dwarfdump-type-units.cc llvm-dwarfdump/libDebugInfo support for type units 2013-09-23 22:44:47 +00:00
dwarfdump-type-units.elf-x86-64 llvm-dwarfdump/libDebugInfo support for type units 2013-09-23 22:44:47 +00:00
fission-ranges.cc [llvm-symbolizer] Fix parsing DW_AT_ranges in Fission skeleton compile unit DIEs. 2014-06-12 18:52:35 +00:00
fission-ranges.elf-x86_64 [llvm-symbolizer] Fix parsing DW_AT_ranges in Fission skeleton compile unit DIEs. 2014-06-12 18:52:35 +00:00
gmlt.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
line.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
llvm-symbolizer-dwo-test [llvm-symbolizer] Print file/line for a PC even if there is no DIE describing it. 2014-04-18 22:22:44 +00:00
llvm-symbolizer-dwo-test.cc [llvm-symbolizer] Print file/line for a PC even if there is no DIE describing it. 2014-04-18 22:22:44 +00:00
llvm-symbolizer-test.c llvm-symbolizer: make mangled name heuristic apply to all symbols 2014-01-16 17:25:12 +00:00
llvm-symbolizer-test.elf-x86-64 llvm-symbolizer: make mangled name heuristic apply to all symbols 2014-01-16 17:25:12 +00:00
macho-universal llvm-symbolizer: add support for Mach-O universal binaries 2013-06-28 08:15:40 +00:00
macho-universal.cc llvm-symbolizer: add support for Mach-O universal binaries 2013-06-28 08:15:40 +00:00
shared-object-stripped.elf-i386 llvm-symbolizer: use dynamic symbol table if the regular one is stripped. 2014-02-26 13:10:01 +00:00
split-dwarf-test [DWARF parser] Fix nasty memory corruption in .dwo files handling. 2014-09-05 19:29:45 +00:00
split-dwarf-test.cc [DWARF parser] Fix nasty memory corruption in .dwo files handling. 2014-09-05 19:29:45 +00:00
split-dwarf-test.dwo [DWARF parser] Fix nasty memory corruption in .dwo files handling. 2014-09-05 19:29:45 +00:00
test-inline.o Add support for applying in-memory relocations to the .debug_line section and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes. 2013-01-25 22:50:58 +00:00
test-parameters.o Add DIContext::getLineInfoForAddressRange() function and test. This function allows a caller to obtain a table of line information for a function using the function's address and size. 2013-01-26 00:28:05 +00:00