mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[llvm/DebugInfo] Fix typo in DWARFTypeUnit ctor call
We were passing the AppleObjCSection instead of the AddrSection. Maybe the API changed and this remained unnoticed because the types are the same, or maybe it's just a typo.
This commit is contained in:
parent
92362003b5
commit
13a5b79073
@ -305,7 +305,7 @@ unsigned DWARFVerifier::verifyUnitSection(const DWARFSection &S,
|
||||
Unit = TypeUnitVector.addUnit(std::make_unique<DWARFTypeUnit>(
|
||||
DCtx, S, Header, DCtx.getDebugAbbrev(), &DObj.getRangesSection(),
|
||||
&DObj.getLocSection(), DObj.getStrSection(),
|
||||
DObj.getStrOffsetsSection(), &DObj.getAppleObjCSection(),
|
||||
DObj.getStrOffsetsSection(), &DObj.getAddrSection(),
|
||||
DObj.getLineSection(), DCtx.isLittleEndian(), false,
|
||||
TypeUnitVector));
|
||||
break;
|
||||
@ -319,7 +319,7 @@ unsigned DWARFVerifier::verifyUnitSection(const DWARFSection &S,
|
||||
Unit = CompileUnitVector.addUnit(std::make_unique<DWARFCompileUnit>(
|
||||
DCtx, S, Header, DCtx.getDebugAbbrev(), &DObj.getRangesSection(),
|
||||
&DObj.getLocSection(), DObj.getStrSection(),
|
||||
DObj.getStrOffsetsSection(), &DObj.getAppleObjCSection(),
|
||||
DObj.getStrOffsetsSection(), &DObj.getAddrSection(),
|
||||
DObj.getLineSection(), DCtx.isLittleEndian(), false,
|
||||
CompileUnitVector));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user