[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:
Reid Kleckner 2016-01-20 23:21:14 +00:00
parent 66e9c101e3
commit deaeb15786

View File

@ -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: