[LLVMbugs] [Bug 7745] New: llvm-mc: ARMDisassemblerCore.cpp:890: bool DisassembleBrMiscFrm(llvm::MCInst&, unsigned int, uint32_t, short unsigned int, unsigned int&, llvm::ARMBasicMCBuilder*): Assertion `0 && "Unexpected BrMiscFrm Opcode"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 29 05:19:05 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7745
Summary: llvm-mc: ARMDisassemblerCore.cpp:890: bool
DisassembleBrMiscFrm(llvm::MCInst&, unsigned int,
uint32_t, short unsigned int, unsigned int&,
llvm::ARMBasicMCBuilder*): Assertion `0 && "Unexpected
BrMiscFrm Opcode"' failed.
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sliedes at cc.hut.fi
CC: llvmbugs at cs.uiuc.edu
(this is trunk revision 109745)
Hi,
I tested the ARM disassembler in MC with all possible 4-byte instructions, and
found three different assertion failures. This is the first one of them (1/3).
I'm running this on amd64 Debian linux.
------------------------------------------------------------
$ echo '0x00 0xf0 0xa0 0xe1' |Debug+Asserts/bin/llvm-mc --disassemble
--triple=arm
llvm-mc: ARMDisassemblerCore.cpp:890: bool DisassembleBrMiscFrm(llvm::MCInst&,
unsigned int, uint32_t, short unsigned int, unsigned int&,
llvm::ARMBasicMCBuilder*): Assertion `0 && "Unexpected BrMiscFrm Opcode"'
failed.
0 llvm-mc 0x0000000000d75854
1 llvm-mc 0x0000000000d75718
2 libpthread.so.0 0x00007f8419950f60
3 libc.so.6 0x00007f8418c63175 gsignal + 53
4 libc.so.6 0x00007f8418c65f80 abort + 384
5 libc.so.6 0x00007f8418c5c2b1 __assert_fail + 241
6 llvm-mc 0x000000000055cdc8
7 llvm-mc 0x000000000056bc05
8 llvm-mc 0x000000000056c8dd
9 llvm-mc 0x0000000000559cca
10 llvm-mc 0x0000000000407287
11 llvm-mc 0x0000000000407b02
12 llvm-mc 0x000000000040bc11
13 llvm-mc 0x000000000040bce9 main + 193
14 libc.so.6 0x00007f8418c4fc4d __libc_start_main + 253
15 llvm-mc 0x0000000000406fe9
Stack dump:
0. Program arguments: Debug+Asserts/bin/llvm-mc --disassemble --triple=arm
Aborted
------------------------------------------------------------
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list