diff options
Diffstat (limited to 'lib/DebugInfo/DWARFContext.cpp')
-rw-r--r-- | lib/DebugInfo/DWARFContext.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp index d10c4b4c31..eaeb2dcc1c 100644 --- a/lib/DebugInfo/DWARFContext.cpp +++ b/lib/DebugInfo/DWARFContext.cpp @@ -297,8 +297,10 @@ void DWARFContext::parseCompileUnits() { } void DWARFContext::parseTypeUnits() { - const TypeSectionMap &Sections = getTypesSections(); - for (TypeSectionMap::const_iterator I = Sections.begin(), E = Sections.end(); + const std::map<object::SectionRef, Section> &Sections = getTypesSections(); + for (std::map<object::SectionRef, Section>::const_iterator + I = Sections.begin(), + E = Sections.end(); I != E; ++I) { uint32_t offset = 0; const DataExtractor &DIData = |