http://llvm.org/bugs/show_bug.cgi?id=13913

             Bug #: 13913
           Summary: MCDisassembler getInstruction API
           Product: new-bugs
           Version: 3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Hi,
    I use MC getInstruction API to decode ARM instructions.

one of the instructions has problem,

The instruction is

e51f3000        ldr     r3, [pc, #-0]


Then I extract MCOperand m from MCInst,

For the offset MCOperand, I call m->getImm() ; 

It does not return 0 but a big number 2147483648



Have A Nice Day

Chia Lun

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to