diff options
author | Eric Christopher <echristo@gmail.com> | 2013-01-04 17:59:22 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-01-04 17:59:22 +0000 |
commit | 60230ef987f234df88a166fc7878cf3051bca0a1 (patch) | |
tree | c5102113a86357f4da64e70748909e31f1311ba4 /lib | |
parent | 138f084ca547c03d64b9a7acdbb84a01b8cd9111 (diff) | |
download | external_llvm-60230ef987f234df88a166fc7878cf3051bca0a1.zip external_llvm-60230ef987f234df88a166fc7878cf3051bca0a1.tar.gz external_llvm-60230ef987f234df88a166fc7878cf3051bca0a1.tar.bz2 |
Add section information for the DWARF5 split debug proposal
string offset section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MC/MCObjectFileInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MC/MCObjectFileInfo.cpp b/lib/MC/MCObjectFileInfo.cpp index d57e0c5..d73b9b1 100644 --- a/lib/MC/MCObjectFileInfo.cpp +++ b/lib/MC/MCObjectFileInfo.cpp @@ -426,6 +426,9 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) { DwarfLocDWOSection = Ctx->getELFSection(".debug_loc.dwo", ELF::SHT_PROGBITS, 0, SectionKind::getMetadata()); + DwarfStrOffDWOSection = + Ctx->getELFSection(".debug_str_offsets.dwo", ELF::SHT_PROGBITS, 0, + SectionKind::getMetadata()); } |