[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 20504] New: [MC] Assertion failed: (SegReg || BaseReg || IndexReg) && "Invalid memor
From:       bugzilla-daemon () llvm ! org
Date:       2014-07-31 20:15:38
Message-ID: bug-20504-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

--1406837738.c7aFF2.17839
Date: Thu, 31 Jul 2014 15:15:38 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

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@nondot.org
          Reporter: rnk@google.com
                CC: chad.rosier@gmail.com, grosbach@apple.com,
                    llvmbugs@cs.uiuc.edu, t.p.northover@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.

--1406837738.c7aFF2.17839
Date: Thu, 31 Jul 2014 15:15:38 -0500
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [MC] Assertion failed: (SegReg || BaseReg || IndexReg) &amp;&amp; \
&quot;Invalid memory operand!&quot;"  \
href="http://llvm.org/bugs/show_bug.cgi?id=20504">20504</a>  </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[MC] Assertion failed: (SegReg || BaseReg || IndexReg) &amp;&amp; \
&quot;Invalid memory operand!&quot;  </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>MC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs&#64;nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rnk&#64;google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>chad.rosier&#64;gmail.com, grosbach&#64;apple.com, \
llvmbugs&#64;cs.uiuc.edu, t.p.northover&#64;gmail.com  </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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) &amp;&amp; &quot;Invalid memory \
operand!&quot;, file d:\src\llvm\lib\target\x86\asmparser\X86Operand.h, line \
470</pre>  </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>

--1406837738.c7aFF2.17839--



_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic