summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-01-09 05:08:28 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-01-09 05:08:28 +0000
commita588365df6c59f80d2f9361e9af1795f1b2c5c08 (patch)
treef15f40241bfaafbab5e9c139a6fef3256dc747de /llvm/lib/MC/MCObjectFileInfo.cpp
parent92d9d627af8608173705d922a208ad9b12245c55 (diff)
downloadbcm5719-llvm-a588365df6c59f80d2f9361e9af1795f1b2c5c08.tar.gz
bcm5719-llvm-a588365df6c59f80d2f9361e9af1795f1b2c5c08.zip
Prototype of skeleton type units for fission
llvm-svn: 198851
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r--llvm/lib/MC/MCObjectFileInfo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp
index 5d7a5f88632..4cc872ec0e7 100644
--- a/llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/llvm/lib/MC/MCObjectFileInfo.cpp
@@ -726,8 +726,9 @@ const MCSection *MCObjectFileInfo::getDwarfTypesSection(uint64_t Hash) const {
const MCSection *
MCObjectFileInfo::getDwarfTypesDWOSection(uint64_t Hash) const {
- return Ctx->getELFSection(".debug_types.dwo", ELF::SHT_GROUP, 0,
- SectionKind::getMetadata(), 0, utostr(Hash));
+ return Ctx->getELFSection(".debug_types.dwo", ELF::SHT_PROGBITS,
+ ELF::SHF_GROUP, SectionKind::getMetadata(), 0,
+ utostr(Hash));
}
void MCObjectFileInfo::InitEHFrameSection() {
OpenPOWER on IntegriCloud