diff options
Diffstat (limited to 'lib/DebugInfo/DWARFContext.cpp')
-rw-r--r-- | lib/DebugInfo/DWARFContext.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp index 1270e6e..d6d9fcf 100644 --- a/lib/DebugInfo/DWARFContext.cpp +++ b/lib/DebugInfo/DWARFContext.cpp @@ -152,7 +152,8 @@ void DWARFContext::parseCompileUnits() { while (DIData.isValidOffset(offset)) { CUs.push_back(DWARFCompileUnit(getDebugAbbrev(), getInfoSection(), getAbbrevSection(), getRangeSection(), - getStringSection(), &infoRelocMap(), + getStringSection(), "", + &infoRelocMap(), isLittleEndian())); if (!CUs.back().extract(DIData, &offset)) { CUs.pop_back(); @@ -172,6 +173,7 @@ void DWARFContext::parseDWOCompileUnits() { getAbbrevDWOSection(), getRangeDWOSection(), getStringDWOSection(), + getStringOffsetDWOSection(), &infoDWORelocMap(), isLittleEndian())); if (!DWOCUs.back().extract(DIData, &offset)) { @@ -382,6 +384,8 @@ DWARFContextInMemory::DWARFContextInMemory(object::ObjectFile *Obj) : AbbrevDWOSection = data; else if (name == "debug_str.dwo") StringDWOSection = data; + else if (name == "debug_str_offsets.dwo") + StringOffsetDWOSection = data; // Any more debug info sections go here. else continue; |