Skip to content

Crash using integrated assembler with immediate arithmetic #19305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
llvmbot opened this issue Feb 21, 2014 · 1 comment
Closed

Crash using integrated assembler with immediate arithmetic #19305

llvmbot opened this issue Feb 21, 2014 · 1 comment
Labels
backend:ARM bugzilla Issues migrated from bugzilla

Comments

@llvmbot
Copy link
Member

llvmbot commented Feb 21, 2014

Bugzilla Link 18931
Resolution FIXED
Resolved on Mar 31, 2014 05:56
Version trunk
OS OpenBSD
Blocks #19300
Attachments fatal test case
Reporter LLVM Bugzilla Contributor
CC @compnerd,@kbeyls,@kaomoneus

Extended Description

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

@kaomoneus
Copy link
Contributor

Fixed in 205096. Please check.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:ARM bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

2 participants