[LLVMbugs] [Bug 16065] New: Segfault when assembling "test [eax], dl" or "xchg ecx, [esi+0x7e]"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat May 18 14:25:04 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16065
Bug ID: 16065
Summary: Segfault when assembling "test [eax],dl" or "xchg
ecx,[esi+0x7e]"
Product: libraries
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: unassignedbugs at nondot.org
Reporter: ysangkok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
These commands crash llvm-mc:
echo "test [eax],dl" | llvm-mc-3.2 -triple i386 -x86-asm-syntax intel
echo "xchg ecx,[esi+0x7e]" | llvm-mc-3.2 -triple i386 -x86-asm-syntax intel
Expected:
An error message.
Stack Trace:
0 libLLVM-3.2.so.1 0xb6f25898
1 libLLVM-3.2.so.1 0xb6f25f3c
2 0xb76f3400 __kernel_sigreturn + 0
3 libLLVM-3.2.so.1 0xb6acb190 llvm::MCExpr::print(llvm::raw_ostream&) const +
64
4 libLLVM-3.2.so.1 0xb6ffabc6
llvm::X86ATTInstPrinter::printOperand(llvm::MCInst const*, unsigned int,
llvm::raw_ostream&) + 246
5 libLLVM-3.2.so.1 0xb6ffc587
llvm::X86ATTInstPrinter::printMemReference(llvm::MCInst const*, unsigned int,
llvm::raw_ostream&) + 551
6 libLLVM-3.2.so.1 0xb6ffc9d8
llvm::X86ATTInstPrinter::printInstruction(llvm::MCInst const*,
llvm::raw_ostream&) + 456
7 libLLVM-3.2.so.1 0xb6ffd7d0 llvm::X86ATTInstPrinter::printInst(llvm::MCInst
const*, llvm::raw_ostream&, llvm::StringRef) + 208
8 libLLVM-3.2.so.1 0xb6aaa5bb
9 libLLVM-3.2.so.1 0xb6ff963b
10 libLLVM-3.2.so.1 0xb6b108f3
11 libLLVM-3.2.so.1 0xb6b13deb
12 llvm-mc-3.2 0x0804c188
13 libc.so.6 0xb5eed935 __libc_start_main + 245
14 llvm-mc-3.2 0x0804caf9
--
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/20130518/32f8ec3c/attachment.html>
More information about the llvm-bugs
mailing list