llvm-project/llvm/test/DebugInfo/Inputs
Adrian Prantl 75819aedf6 [PR27284] Reverse the ownership between DICompileUnit and DISubprogram.
Currently each Function points to a DISubprogram and DISubprogram has a
scope field. For member functions the scope is a DICompositeType. DIScopes
point to the DICompileUnit to facilitate type uniquing.

Distinct DISubprograms (with isDefinition: true) are not part of the type
hierarchy and cannot be uniqued. This change removes the subprograms
list from DICompileUnit and instead adds a pointer to the owning compile
unit to distinct DISubprograms. This would make it easy for ThinLTO to
strip unneeded DISubprograms and their transitively referenced debug info.

Motivation
----------

Materializing DISubprograms is currently the most expensive operation when
doing a ThinLTO build of clang.

We want the DISubprogram to be stored in a separate Bitcode block (or the
same block as the function body) so we can avoid having to expensively
deserialize all DISubprograms together with the global metadata. If a
function has been inlined into another subprogram we need to store a
reference the block containing the inlined subprogram.

Attached to https://llvm.org/bugs/show_bug.cgi?id=27284 is a python script
that updates LLVM IR testcases to the new format.

http://reviews.llvm.org/D19034
<rdar://problem/25256815>

llvm-svn: 266446
2016-04-15 15:57:41 +00:00
..
arange-overlap.cc
arange-overlap.elf-x86_64
arm-relocs.elf-arm
cross-cu-inlining.c
cross-cu-inlining.x86_64-macho.o
dwarfdump-dwp.x86_64.o dwarfdump: Use the index to find the right abbrev offset in DWP files 2015-11-17 00:39:55 +00:00
dwarfdump-inl-test.cc
dwarfdump-inl-test.elf-x86-64
dwarfdump-inl-test.h
dwarfdump-inl-test.high_pc.elf-x86-64
dwarfdump-line-dwo.cc
dwarfdump-line-dwo.elf-x86-64
dwarfdump-macho-relocs.macho.x86_64.o [dwarfdump] Do not apply relocations in mach-o files if there is no LoadedObjectInfo. 2015-08-23 04:44:21 +00:00
dwarfdump-macro-cmd.h Fix several accidental DOS line endings in source files 2016-01-03 17:22:03 +00:00
dwarfdump-macro.cc Fix several accidental DOS line endings in source files 2016-01-03 17:22:03 +00:00
dwarfdump-macro.h Fix several accidental DOS line endings in source files 2016-01-03 17:22:03 +00:00
dwarfdump-macro.o dwarfdump: Added macro support to llvm-dwarfdump tool. 2015-11-12 09:38:54 +00:00
dwarfdump-objc.m
dwarfdump-objc.x86_64.o
dwarfdump-pubnames.cc
dwarfdump-pubnames.elf-x86-64
dwarfdump-test-32bit.elf.c
dwarfdump-test-32bit.elf.o
dwarfdump-test-loc-list-32bit.elf.cpp
dwarfdump-test-loc-list-32bit.elf.o
dwarfdump-test-zlib.cc
dwarfdump-test-zlib.elf-x86-64
dwarfdump-test.cc [dwarfdump] Ignore scattered relocations for mach-o. 2015-07-31 20:22:50 +00:00
dwarfdump-test.elf-x86-64
dwarfdump-test.elf-x86-64.debuglink
dwarfdump-test.macho-i386.o [dwarfdump] Ignore scattered relocations for mach-o. 2015-07-31 20:22:50 +00:00
dwarfdump-test2-helper.cc
dwarfdump-test2-main.cc
dwarfdump-test2.elf-x86-64
dwarfdump-test3-decl.h
dwarfdump-test3-decl2.h
dwarfdump-test3.cc
dwarfdump-test3.elf-x86-64 space
dwarfdump-test4-decl.h
dwarfdump-test4-part1.cc
dwarfdump-test4-part2.cc
dwarfdump-test4.elf-x86-64
dwarfdump-type-units.cc
dwarfdump-type-units.elf-x86-64
dwarfdump.elf-mips64-64-bit-dwarf
fat-test.o Don't use test inputs from other directories. 2015-08-03 11:59:45 +00:00
fission-ranges.cc
fission-ranges.elf-x86_64
gmlt.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
invalid.elf
invalid.elf.2
invalid.elf.3 [Object, ELF] Don't assert on invalid magic in createELFObjectFile. 2015-06-04 23:14:43 +00:00
line.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
llvm-symbolizer-dwo-test
llvm-symbolizer-dwo-test.cc
llvm-symbolizer-test.c
llvm-symbolizer-test.elf-x86-64
macho-universal
macho-universal.cc
shared-object-stripped.elf-i386
split-dwarf-test
split-dwarf-test.cc
split-dwarf-test.dwo
test-inline.o
test-multiple-macho.o
test-parameters.o
test-simple-macho.o