diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-07-25 17:11:58 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-07-25 17:11:58 +0000 |
commit | 29459ae83c8177c858f459a6392fdad37cbc1ef4 (patch) | |
tree | 9d2451ecaf622fe7f55e57b088e39e62336d0372 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 869b0a1fd457eb7131845725d2fc8c9577b467ed (diff) | |
download | bcm5719-llvm-29459ae83c8177c858f459a6392fdad37cbc1ef4.tar.gz bcm5719-llvm-29459ae83c8177c858f459a6392fdad37cbc1ef4.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index b7b83b282d8..a224c173369 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -579,6 +579,10 @@ public: sizeof(uint32_t); // Type DIE Offset } void initSection(const MCSection *Section); + // Bring in the base function (taking two args, including the section symbol) + // for use when building DWO type units (they don't go in unique comdat + // sections) + using DwarfUnit::initSection; DwarfCompileUnit &getCU() override { return CU; } protected: |