add flags, ts_flags properties for Instr class

This commit is contained in:
anthony cantor 2013-08-27 14:25:05 -06:00 • committed by Siu Kwan Lam
commit 3c06f0d590
3 changed files with 13 additions and 2 deletions

View file

@ -20,6 +20,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))
for line in str(inst).split("\n"):
print("\t%s" % (line))