StringRef DebugInfoSection;
StringRef DebugAbbrevSection;
StringRef DebugLineSection;
+ StringRef DebugArangesSection;
error_code ec;
for (ObjectFile::section_iterator i = Obj->begin_sections(),
DebugAbbrevSection = data;
else if (name.endswith("debug_line"))
DebugLineSection = data;
+ else if (name.endswith("debug_aranges"))
+ DebugArangesSection = data;
}
OwningPtr<DIContext> dictx(DIContext::getDWARFContext(/*FIXME*/true,
DebugInfoSection,
- DebugAbbrevSection));
+ DebugAbbrevSection,
+ DebugArangesSection));
dictx->dump(outs());
}