[LLVMbugs] [Bug 22004] New: X86AsmParser.cpp asserts: OperandStack.size() > 1 && "Too few operands." X

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 22 08:42:35 PST 2014


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

            Bug ID: 22004
           Summary: X86AsmParser.cpp asserts: OperandStack.size() > 1 &&
                    "Too few operands." X
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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)

-- 
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/20141222/47043996/attachment.html>


More information about the llvm-bugs mailing list