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

            Bug ID: 20504
           Summary: [MC] Assertion failed: (SegReg || BaseReg || IndexReg)
                    && "Invalid memory operand!"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified

I was trying to write 'calll *_my_fn_ptr' and wrote 'calll _my_fn_ptr()' and
crashed the parser.

$ cat t.s
.data
_my_fn_ptr:
.long 0
.text
    calll _my_fn_ptr()

$ llvm-mc t.s
Assertion failed: (SegReg || BaseReg || IndexReg) && "Invalid memory operand!",
file d:\src\llvm\lib\target\x86\asmparser\X86Operand.h, line 470

-- 
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