diff options
| author | Alexey Samsonov <vonosmas@gmail.com> | 2014-10-08 00:07:53 +0000 |
|---|---|---|
| committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-10-08 00:07:53 +0000 |
| commit | 8cd4c9d94778a302f140d661d1402b2cc7789b2b (patch) | |
| tree | 9d1f5bf693916b06abef665a19ff6cfa58fc3ee6 /llvm/lib/DebugInfo/DWARFContext.cpp | |
| parent | fcfbcc6d103802e15e03d10d5bdec4d4dfa8b371 (diff) | |
| download | bcm5719-llvm-8cd4c9d94778a302f140d661d1402b2cc7789b2b.tar.gz bcm5719-llvm-8cd4c9d94778a302f140d661d1402b2cc7789b2b.zip | |
[DebugInfo] Pass DWARFSection into DWARFUnitSection constructor (NFC).
llvm-svn: 219259
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFContext.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARFContext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp index ceaff053ef8..2cacfd9b949 100644 --- a/llvm/lib/DebugInfo/DWARFContext.cpp +++ b/llvm/lib/DebugInfo/DWARFContext.cpp @@ -314,7 +314,7 @@ DWARFContext::getLineTableForUnit(DWARFUnit *cu) { } void DWARFContext::parseCompileUnits() { - CUs.parse(*this, getInfoSection().Data, getInfoSection().Relocs); + CUs.parse(*this, getInfoSection()); } void DWARFContext::parseTypeUnits() { @@ -322,12 +322,12 @@ void DWARFContext::parseTypeUnits() { return; for (const auto &I : getTypesSections()) { TUs.push_back(DWARFUnitSection<DWARFTypeUnit>()); - TUs.back().parse(*this, I.second.Data, I.second.Relocs); + TUs.back().parse(*this, I.second); } } void DWARFContext::parseDWOCompileUnits() { - DWOCUs.parseDWO(*this, getInfoDWOSection().Data, getInfoDWOSection().Relocs); + DWOCUs.parseDWO(*this, getInfoDWOSection()); } void DWARFContext::parseDWOTypeUnits() { @@ -335,7 +335,7 @@ void DWARFContext::parseDWOTypeUnits() { return; for (const auto &I : getTypesDWOSections()) { DWOTUs.push_back(DWARFUnitSection<DWARFTypeUnit>()); - DWOTUs.back().parseDWO(*this, I.second.Data, I.second.Relocs); + DWOTUs.back().parseDWO(*this, I.second); } } |

