DebugInfo: Tag units as having been indexed in GNU pubnames by using a DW_AT_GNU_pubn...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 6 Mar 2014 05:47:39 +0000 (05:47 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 6 Mar 2014 05:47:39 +0000 (05:47 +0000)
commitca8b562f2d4d996d5198af537ad312e544da1172
treea5e2880426891dcfdefdc2ca042f6c23aa9cd76f
parentdf95a940641559f6e4027af704ac7c70bac24f93
DebugInfo: Tag units as having been indexed in GNU pubnames by using a DW_AT_GNU_pubnames of DW_FORM_flag(_present) rather than sec_offsets to the pubnames/types sections

This is consistent with GDB ToT and reduces the number of relocations in
(type and compile) units, substantially reducing relocations and debug
size in fission + type units builds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203082 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/gnu-public-names-empty.ll
test/DebugInfo/X86/gnu-public-names.ll