<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 --- - assertion "Parse statement returned an error, but none emitted!""
   href="http://llvm.org/bugs/show_bug.cgi?id=19538">19538</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>assertion "Parse statement returned an error, but none emitted!"
          </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>Linux
          </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@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nlewycky@google.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>Test file is one line:

        .section        .debug_types,"G",@progbits,14346938675671512160,comdat

Run "llvm-mc file.s" and get:

        .text
llvm-mc: AsmParser.cpp:655: virtual bool {anonymous}::AsmParser::Run(bool,
bool): Assertion `HadError && "Parse statement returned an error, but none
emitted!"' failed.
0  llvm-mc         0x0000000000752973
1  llvm-mc         0x0000000000752bf0
2  llvm-mc         0x00000000007525b1
3  libpthread.so.0 0x00007f7324c59cb0
4  libc.so.6       0x00007f7323f91425 gsignal + 53
5  libc.so.6       0x00007f7323f94b8b abort + 379
6  libc.so.6       0x00007f7323f8a0ee
7  libc.so.6       0x00007f7323f8a192
8  llvm-mc         0x0000000000666532
9  llvm-mc         0x000000000040a92f
10 llvm-mc         0x000000000040b6d1
11 libc.so.6       0x00007f7323f7c76d __libc_start_main + 237
12 llvm-mc         0x0000000000404c19
Stack dump:
0.      Program arguments: llvm/Debug+Asserts/bin/llvm-mc file.s 
Aborted (core dumped)

The line may or may not be valid, the assertion is saying that we
simultaneously think the line is in error yet didn't emit an error message for
it.</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>