From 60230ef987f234df88a166fc7878cf3051bca0a1 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 4 Jan 2013 17:59:22 +0000 Subject: 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 --- lib/MC/MCObjectFileInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/MC/MCObjectFileInfo.cpp') diff --git a/lib/MC/MCObjectFileInfo.cpp b/lib/MC/MCObjectFileInfo.cpp index d57e0c5b4a..d73b9b1005 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()); } -- cgit v1.2.3-18-g5258