summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFContext.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-12-13 06:43:32 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-12-13 06:43:32 +0000
commit2d39ad82bc64c5fd4536fe02bb6ab3f153a7dfac (patch)
tree5183e3887d3ed643534806b7572ee99239f749e6 /lib/DebugInfo/DWARFContext.cpp
parentbc6b250c740bef28bb30ddea5321d9b0de0ec60c (diff)
downloadllvm-2d39ad82bc64c5fd4536fe02bb6ab3f153a7dfac.tar.gz
llvm-2d39ad82bc64c5fd4536fe02bb6ab3f153a7dfac.tar.bz2
llvm-2d39ad82bc64c5fd4536fe02bb6ab3f153a7dfac.tar.xz
Revert "DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers"
This reverts commit r197210. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFContext.cpp')
-rw-r--r--lib/DebugInfo/DWARFContext.cpp6
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 =