diff options
author | Eric Christopher <echristo@gmail.com> | 2012-11-28 02:49:38 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-11-28 02:49:38 +0000 |
commit | 6acb53152cd2140bc1f7ec7280bf67823e564ba0 (patch) | |
tree | 4c1c947b3dd7becca2f23fdd3f3a4fb1774dc91e /lib/MC/MCObjectFileInfo.cpp | |
parent | ea1504d0bd2f1171890b090b2ce007a78a05029f (diff) |
Add brief support for the fission .debug_info.dwo section for
ELF output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | lib/MC/MCObjectFileInfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/MC/MCObjectFileInfo.cpp b/lib/MC/MCObjectFileInfo.cpp index c6164d4c18..5a681313d2 100644 --- a/lib/MC/MCObjectFileInfo.cpp +++ b/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()); } |