1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[codeview] Dump a missing field and change its signedness

llvm-svn: 259904
This commit is contained in:
Reid Kleckner 2016-02-05 19:15:45 +00:00
parent 350a5c65b3
commit 212c354887
2 changed files with 3 additions and 1 deletions

View File

@ -173,7 +173,7 @@ struct DefRangeFramePointerRelFullScopeSym {
struct DefRangeRegisterRelSym {
ulittle16_t BaseRegister;
ulittle16_t Flags;
ulittle32_t BasePointerOffset;
little32_t BasePointerOffset;
LocalVariableAddrRange Range;
// LocalVariableAddrGap Gaps[];

View File

@ -1580,6 +1580,8 @@ void COFFDumper::printCodeViewSymbolsSubsection(StringRef Subsection,
W.printBoolean("HasSpilledUDTMember",
DefRangeRegisterRel->hasSpilledUDTMember());
W.printNumber("OffsetInParent", DefRangeRegisterRel->offsetInParent());
W.printNumber("BasePointerOffset",
DefRangeRegisterRel->BasePointerOffset);
printLocalVariableAddrRange(DefRangeRegisterRel->Range, Sec,
SectionContents);
printLocalVariableAddrGap(SymData);