Reapply "DebugInfo: Don't put fission type units in comdat sections."
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 25 Jul 2014 17:11:58 +0000 (17:11 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 25 Jul 2014 17:11:58 +0000 (17:11 +0000)
commit29459ae83c8177c858f459a6392fdad37cbc1ef4
tree9d2451ecaf622fe7f55e57b088e39e62336d0372
parent869b0a1fd457eb7131845725d2fc8c9577b467ed
Reapply "DebugInfo: Don't put fission type units in comdat sections."

This recommits r208930, r208933, and r208975 (by reverting r209338) and
reverts r209529 (the FIXME to readd this functionality once the tools
were fixed) now that DWP has been fixed to cope with a single section
for all fission type units.

Original commit message:

"Since type units in the dwo file are handled by a debug aware tool,
they don't need to leverage the ELF comdat grouping to implement
deduplication. Avoid creating all the .group sections for these as a
space optimization."

llvm-svn: 213956
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/test/DebugInfo/X86/generate-odr-hash.ll