added llvm.mc.Operand class
Operand encapsulates information that llvm provides about an MCOperand in an instruction.
This commit is contained in:
parent
87d444c9e9
commit
82d9c787f3
4 changed files with 62 additions and 36 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue