mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-17 00:50:58 +00:00
[readobj] Print CodeOffset first, it's easier to read
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258368 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
66e9c101e3
commit
deaeb15786
@ -1450,17 +1450,17 @@ void COFFDumper::printCodeViewSymbolsSubsection(StringRef Subsection,
|
||||
uint32_t Annotation = GetCompressedAnnotation();
|
||||
int32_t LineOffset = DecodeSignedOperand(Annotation >> 4);
|
||||
uint32_t CodeOffset = Annotation & 0xf;
|
||||
W.startLine() << "ChangeCodeOffsetAndLineOffset: {LineOffset: "
|
||||
<< LineOffset << ", CodeOffset: " << W.hex(CodeOffset)
|
||||
W.startLine() << "ChangeCodeOffsetAndLineOffset: {CodeOffset: "
|
||||
<< W.hex(CodeOffset) << ", LineOffset: " << LineOffset
|
||||
<< "}\n";
|
||||
break;
|
||||
}
|
||||
case ChangeCodeLengthAndCodeOffset: {
|
||||
uint32_t Length = GetCompressedAnnotation();
|
||||
uint32_t CodeOffset = GetCompressedAnnotation();
|
||||
W.startLine() << "ChangeCodeLengthAndCodeOffset: {Length: "
|
||||
<< W.hex(Length)
|
||||
<< ", CodeOffset: " << W.hex(CodeOffset) << "}\n";
|
||||
W.startLine() << "ChangeCodeLengthAndCodeOffset: {CodeOffset: "
|
||||
<< W.hex(CodeOffset) << ", Length: " << W.hex(Length)
|
||||
<< "}\n";
|
||||
break;
|
||||
}
|
||||
case ChangeColumnEnd:
|
||||
|
Loading…
Reference in New Issue
Block a user