summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-11-28 02:49:38 +0000
committerEric Christopher <echristo@gmail.com>2012-11-28 02:49:38 +0000
commitc3b434b76ce9e14350a677afa9947ffdca5757c5 (patch)
tree1bd1f16d8cbfbf08706a548ccfde7ecc66d57669 /llvm/lib/MC/MCObjectFileInfo.cpp
parent27ed8ec126feaca56455c02190eac03b52210214 (diff)
downloadbcm5719-llvm-c3b434b76ce9e14350a677afa9947ffdca5757c5.tar.gz
bcm5719-llvm-c3b434b76ce9e14350a677afa9947ffdca5757c5.zip
Add brief support for the fission .debug_info.dwo section for
ELF output. llvm-svn: 168764
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r--llvm/lib/MC/MCObjectFileInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp
index c6164d4c181..5a681313d2b 100644
--- a/llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/llvm/lib/MC/MCObjectFileInfo.cpp
@@ -408,6 +408,11 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) {
DwarfAccelTypesSection =
Ctx->getELFSection(".apple_types", ELF::SHT_PROGBITS, 0,
SectionKind::getMetadata());
+
+ // Fission Sections
+ DwarfInfoDWOSection =
+ Ctx->getELFSection(".debug_info.dwo", ELF::SHT_PROGBITS, 0,
+ SectionKind::getMetadata());
}
OpenPOWER on IntegriCloud