diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-01-13 23:27:39 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-01-13 23:27:39 +0000 |
commit | 8fbbd1c03df9cb6844ce5ffaa24a0adf6e434a2c (patch) | |
tree | 3d0fbf25f3150d506006fba715db31ee20160651 | |
parent | 21d842c35326281798f685661b88dedcd09c13aa (diff) |
Add comment about Thumb2 fixup comments being completely bogus.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123411 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/MC/MCAsmStreamer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index 109572471d..c47085a339 100644 --- a/lib/MC/MCAsmStreamer.cpp +++ b/lib/MC/MCAsmStreamer.cpp @@ -805,6 +805,8 @@ void MCAsmStreamer::AddEncodingComment(const MCInst &Inst) { } } + // 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 @@ void MCAsmStreamer::AddEncodingComment(const MCInst &Inst) { 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 |