[LLVMbugs] [Bug 18931] New: Crash using integrated assembler with immediate arithmetic

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 21 10:27:18 PST 2014


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

            Bug ID: 18931
           Summary: Crash using integrated assembler with immediate
                    arithmetic
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: simon.hosie at arm.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12101
  --> http://llvm.org/bugs/attachment.cgi?id=12101&action=edit
fatal test case

For the attached code fragment, Clang dies here:

clang: /home/simhos01/llvm/llvm/include/llvm/MC/MCInst.h:75: int64_t
llvm::MCOperand::getImm() const: Assertion `isImm() && "This is not an
immediate"' failed.
0  clang           0x0000000002386355 llvm::sys::PrintStackTrace(_IO_FILE*) +
37
1  clang           0x0000000002386b43
2  libpthread.so.0 0x00007fe104f7ecb0
3  libc.so.6       0x00007fe103d9c425 gsignal + 53
4  libc.so.6       0x00007fe103d9fb8b abort + 379
5  libc.so.6       0x00007fe103d950ee
6  libc.so.6       0x00007fe103d95192
7  clang           0x000000000198376f
8  clang           0x0000000001976e45
9  clang           0x0000000001970cae
10 clang           0x0000000002305772
llvm::MCELFStreamer::EmitInstToData(llvm::MCInst const&, llvm::MCSubtargetInfo
const&) + 146
11 clang           0x0000000002310c15
llvm::MCObjectStreamer::EmitInstruction(llvm::MCInst const&,
llvm::MCSubtargetInfo const&) + 437
12 clang           0x000000000193234f
13 clang           0x0000000001d773a1
14 clang           0x0000000001d719a2
15 clang           0x0000000000690113 cc1as_main(char const**, char const**,
char const*, void*) + 8899
16 clang           0x0000000000691feb main + 3099
17 libc.so.6       0x00007fe103d8776d __libc_start_main + 237
18 clang           0x000000000068d1e9

-- 
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/20140221/a457d2c1/attachment.html>


More information about the llvm-bugs mailing list