Fancy disassembly of Thumb2 IT blocks.
Example:
0x60ce6ea4: 4291 cmp r1, r2
0x60ce6ea6: bf0e itee eq
0x60ce6ea8: 2001 movseq r0, #1
0x60ce6eaa: 1c10 movne r0, r2
0x60ce6eac: 47f0 blxne lr
0x60ce6eae: 1c06 mov r6, r0
Change-Id: I85deae2e471b8bfc513281be421e0bd46c1b60a0
diff --git a/src/disassembler_arm.h b/src/disassembler_arm.h
index 336d277..c59d395 100644
--- a/src/disassembler_arm.h
+++ b/src/disassembler_arm.h
@@ -17,6 +17,8 @@
#ifndef ART_SRC_DISASSEMBLER_ARM_H_
#define ART_SRC_DISASSEMBLER_ARM_H_
+#include <vector>
+
#include "disassembler.h"
namespace art {
@@ -36,6 +38,10 @@
void DumpBranchTarget(std::ostream& os, const uint8_t* instr_ptr, int32_t imm32);
void DumpCond(std::ostream& os, uint32_t cond);
+
+ std::vector<const char*> it_conditions_;
+
+ DISALLOW_COPY_AND_ASSIGN(DisassemblerArm);
};
} // namespace arm