[llvm] r258368 - [readobj] Print CodeOffset first, it's easier to read
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 20 15:21:14 PST 2016
Author: rnk
Date: Wed Jan 20 17:21:14 2016
New Revision: 258368
URL: http://llvm.org/viewvc/llvm-project?rev=258368&view=rev
Log:
[readobj] Print CodeOffset first, it's easier to read
Modified:
llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/COFFDumper.cpp?rev=258368&r1=258367&r2=258368&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/COFFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/COFFDumper.cpp Wed Jan 20 17:21:14 2016
@@ -1450,17 +1450,17 @@ void COFFDumper::printCodeViewSymbolsSub
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:
More information about the llvm-commits
mailing list