mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[readobj] Print CodeOffset first, it's easier to read
llvm-svn: 258368
This commit is contained in:
parent
2536ce124f
commit
13f2abc913
@ -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…
x
Reference in New Issue
Block a user