added opcode property to llvm.mc.Instr
This commit is contained in:
parent
43f7330fda
commit
65c4558cac
2 changed files with 7 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ if llvm.version >= (3, 4):
|
|||
else:
|
||||
print("\t0x%x ops = %s" % (addr, ops))
|
||||
|
||||
print("\t\tflags = 0x%x, tsflags = 0x%x" % (inst.flags, inst.ts_flags))
|
||||
print("\t\topcode = 0x%x, flags = 0x%x, tsflags = 0x%x" % (inst.opcode, inst.flags, inst.ts_flags))
|
||||
for line in str(inst).split("\n"):
|
||||
print("\t\t%-24s %s" % ("".join(map(lambda b: "%02x" % b, data))+":", line.strip()))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue