mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +00:00
[DWARF parser] Cleanup code in DWARFDebugAbbrev.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -218,7 +218,7 @@ const DWARFDebugAbbrev *DWARFContext::getDebugAbbrev() {
|
||||
DataExtractor abbrData(getAbbrevSection(), isLittleEndian(), 0);
|
||||
|
||||
Abbrev.reset(new DWARFDebugAbbrev());
|
||||
Abbrev->parse(abbrData);
|
||||
Abbrev->extract(abbrData);
|
||||
return Abbrev.get();
|
||||
}
|
||||
|
||||
@@ -228,7 +228,7 @@ const DWARFDebugAbbrev *DWARFContext::getDebugAbbrevDWO() {
|
||||
|
||||
DataExtractor abbrData(getAbbrevDWOSection(), isLittleEndian(), 0);
|
||||
AbbrevDWO.reset(new DWARFDebugAbbrev());
|
||||
AbbrevDWO->parse(abbrData);
|
||||
AbbrevDWO->extract(abbrData);
|
||||
return AbbrevDWO.get();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user