<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 --- - X86AsmParser.cpp asserts: OperandStack.size() > 1 && "Too few operands." X"
   href="http://llvm.org/bugs/show_bug.cgi?id=22004">22004</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>X86AsmParser.cpp asserts: OperandStack.size() > 1 && "Too few operands." X
          </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>Backend: X86
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>paul_robinson@playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On x86-64 Linux, llvm-mc r224696 crashes with the following source:
    lea    rax, qword ptr [rip + .L.str]
Not sure why the traceback isn't symbolized.

llvm-mc:
/home/probinson/projects/llvm-org-tip/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp:171:
int64_t {anonymous}::X86AsmParser::InfixCalculator::execute(): Assertion
`OperandStack.size() > 1 && "Too few operands."' failed.
0  llvm-mc         0x000000000079d8e2
1  llvm-mc         0x000000000079db89
2  llvm-mc         0x000000000079c70e
3  libpthread.so.0 0x00007fcf12eed340
4  libc.so.6       0x00007fcf11ef7bb9 gsignal + 57
5  libc.so.6       0x00007fcf11efafc8 abort + 328
6  libc.so.6       0x00007fcf11ef0a76
7  libc.so.6       0x00007fcf11ef0b22
8  llvm-mc         0x000000000067b93d
9  llvm-mc         0x000000000067c0e7
10 llvm-mc         0x000000000067f52d
11 llvm-mc         0x000000000068030b
12 llvm-mc         0x0000000000681b0e
13 llvm-mc         0x000000000067e0ed
14 llvm-mc         0x00000000006844ab
15 llvm-mc         0x00000000006bc8f9
16 llvm-mc         0x00000000006b8452
17 llvm-mc         0x000000000040ad66
18 llvm-mc         0x000000000040bcce
19 libc.so.6       0x00007fcf11ee2ec5 __libc_start_main + 245
20 llvm-mc         0x00000000004045e9
Stack dump:
0.    Program arguments:
/home/probinson/projects/llvm-org-tip/obj/Debug+Asserts/bin/llvm-mc test.s
-x86-asm-syntax=intel 
Aborted (core dumped)</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>