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)
commitfcfd56262b1cc06518f2323de541e4de99e93e46
treed0e6137910b5fe859f1bc418a45df72b8e792838
parent1d20dd420e230471620ca616ac426f68cbc5ec13
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."

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213956 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCObjectFileInfo.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfUnit.h
lib/MC/MCObjectFileInfo.cpp
test/DebugInfo/X86/generate-odr-hash.ll