Add encoded instruction bits to disassembly log.
This is added to help track down code generation bugs like:
b: 3378908
Change-Id: I61a28282a1634f1fe310de7debeb8abc2507c4df
diff --git a/lib/CodeGen/CodeEmitter.cpp b/lib/CodeGen/CodeEmitter.cpp
index f475abd..43e508d 100644
--- a/lib/CodeGen/CodeEmitter.cpp
+++ b/lib/CodeGen/CodeEmitter.cpp
@@ -1211,7 +1211,8 @@
(*OS).indent(4)
.write("0x", 2)
.write_hex((uint32_t) Start + Index)
- .write(':');
+ .write(": 0x", 4);
+ (*OS).write_hex((uint32_t) *(uint32_t*)(Start+Index));
mpIP->printInst(&Inst, *OS);
*OS << "\n";
} else {