mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
[DebugInfo] Pass DWARFSection into DWARFUnitSection constructor (NFC).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user