[LLVMbugs] [Bug 20504] New: [MC] Assertion failed: (SegReg || BaseReg || IndexReg) && "Invalid memory operand!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 31 13:15:38 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: chad.rosier at gmail.com, grosbach at apple.com,
                    llvmbugs at cs.uiuc.edu, t.p.northover at gmail.com
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140731/c4351c00/attachment.html>


More information about the llvm-bugs mailing list