[LLVMbugs] [Bug 19538] New: assertion "Parse statement returned an error, but none emitted!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 23 18:30:15 PDT 2014


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

            Bug ID: 19538
           Summary: assertion "Parse statement returned an error, but none
                    emitted!"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Test file is one line:

        .section        .debug_types,"G", at 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.

-- 
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/20140424/e48d7f03/attachment.html>


More information about the llvm-bugs mailing list