added llvm.mc.Operand class

Operand encapsulates information that llvm provides about an MCOperand
in an instruction.
This commit is contained in:
anthony cantor 2013-08-18 14:48:53 -06:00 • committed by Siu Kwan Lam
commit 82d9c787f3
4 changed files with 62 additions and 36 deletions

View file

@ -659,7 +659,7 @@ def do_llvm_mc():
tm = TargetMachine.x86()
dasm = mc.Disassembler(tm)
for (offset, instr) in dasm.decode("c3"):
for (offset, instr) in dasm.decode("c3", 0):
pass
def main():