[llvm] r259904 - [codeview] Dump a missing field and change its signedness
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 5 11:15:45 PST 2016
Author: rnk
Date: Fri Feb 5 13:15:45 2016
New Revision: 259904
URL: http://llvm.org/viewvc/llvm-project?rev=259904&view=rev
Log:
[codeview] Dump a missing field and change its signedness
Modified:
llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecord.h
llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecord.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecord.h?rev=259904&r1=259903&r2=259904&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecord.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/SymbolRecord.h Fri Feb 5 13:15:45 2016
@@ -173,7 +173,7 @@ struct DefRangeFramePointerRelFullScopeS
struct DefRangeRegisterRelSym {
ulittle16_t BaseRegister;
ulittle16_t Flags;
- ulittle32_t BasePointerOffset;
+ little32_t BasePointerOffset;
LocalVariableAddrRange Range;
// LocalVariableAddrGap Gaps[];
Modified: llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/COFFDumper.cpp?rev=259904&r1=259903&r2=259904&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/COFFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/COFFDumper.cpp Fri Feb 5 13:15:45 2016
@@ -1580,6 +1580,8 @@ void COFFDumper::printCodeViewSymbolsSub
W.printBoolean("HasSpilledUDTMember",
DefRangeRegisterRel->hasSpilledUDTMember());
W.printNumber("OffsetInParent", DefRangeRegisterRel->offsetInParent());
+ W.printNumber("BasePointerOffset",
+ DefRangeRegisterRel->BasePointerOffset);
printLocalVariableAddrRange(DefRangeRegisterRel->Range, Sec,
SectionContents);
printLocalVariableAddrGap(SymData);
More information about the llvm-commits
mailing list