[llvm-commits] [llvm] r123411 - /llvm/trunk/lib/MC/MCAsmStreamer.cpp
Evan Cheng
evan.cheng at apple.com
Thu Jan 13 15:27:39 PST 2011
Author: evancheng
Date: Thu Jan 13 17:27:39 2011
New Revision: 123411
URL: http://llvm.org/viewvc/llvm-project?rev=123411&view=rev
Log:
Add comment about Thumb2 fixup comments being completely bogus.
Modified:
llvm/trunk/lib/MC/MCAsmStreamer.cpp
Modified: llvm/trunk/lib/MC/MCAsmStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAsmStreamer.cpp?rev=123411&r1=123410&r2=123411&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAsmStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCAsmStreamer.cpp Thu Jan 13 17:27:39 2011
@@ -805,6 +805,8 @@
}
}
+ // FIXME: Node the fixup comments for Thumb2 are completely bogus since the
+ // high order halfword of a 32-bit Thumb2 instruction is emitted first.
OS << "encoding: [";
for (unsigned i = 0, e = Code.size(); i != e; ++i) {
if (i)
@@ -825,7 +827,7 @@
OS << format("0x%02x", uint8_t(Code[i]));
} else {
if (Code[i]) {
- // some of the 8 bits require fix up.
+ // FIXME: Some of the 8 bits require fix up.
OS << format("0x%02x", uint8_t(Code[i])) << '\''
<< char('A' + MapEntry - 1) << '\'';
} else
More information about the llvm-commits
mailing list