summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-15 23:18:15 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-15 23:18:15 +0000
commitf1b1f7fd73c5ab19b6f27c8c2c272539e913c075 (patch)
tree134ed162f2d850d14989a65202cc6b4404073adc /include
parentae787d36ee9b355ad632dd2b41ac0b64a841f5bd (diff)
downloadllvm-f1b1f7fd73c5ab19b6f27c8c2c272539e913c075.tar.gz
llvm-f1b1f7fd73c5ab19b6f27c8c2c272539e913c075.tar.bz2
llvm-f1b1f7fd73c5ab19b6f27c8c2c272539e913c075.tar.xz
DebugInfo: Don't put fission type units in comdat sections.
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@208930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCObjectFileInfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/MC/MCObjectFileInfo.h b/include/llvm/MC/MCObjectFileInfo.h
index 1a56040e46..58f37d437c 100644
--- a/include/llvm/MC/MCObjectFileInfo.h
+++ b/include/llvm/MC/MCObjectFileInfo.h
@@ -122,6 +122,7 @@ protected:
/// These are used for the Fission separate debug information files.
const MCSection *DwarfInfoDWOSection;
+ const MCSection *DwarfTypesDWOSection;
const MCSection *DwarfAbbrevDWOSection;
const MCSection *DwarfStrDWOSection;
const MCSection *DwarfLineDWOSection;
@@ -270,7 +271,9 @@ public:
return DwarfInfoDWOSection;
}
const MCSection *getDwarfTypesSection(uint64_t Hash) const;
- const MCSection *getDwarfTypesDWOSection(uint64_t Hash) const;
+ const MCSection *getDwarfTypesDWOSection() const {
+ return DwarfTypesDWOSection;
+ }
const MCSection *getDwarfAbbrevDWOSection() const {
return DwarfAbbrevDWOSection;
}