[LLVMbugs] [Bug 19003] New: arm assembler crashes Clang
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Feb 28 01:26:37 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=19003
Bug ID: 19003
Summary: arm assembler crashes Clang
Product: clang
Version: unspecified
Hardware: PC
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: minyue at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12165
--> http://llvm.org/bugs/attachment.cgi?id=12165&action=edit
the arm assembler
./clang -arch armv7 ~/Desktop/celt_pitch_xcorr_arm_gnu.S -o
~/Desktop/celt_pitch_xcorr_arm_gnu.o
unimplemented
UNREACHABLE executed at
/Users/minyue/Code/llvm/llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp:231!
0 clang 0x000000010bb3adae
llvm::sys::PrintStackTrace(__sFILE*) + 46
1 clang 0x000000010bb3b0bb
PrintStackTraceSignalHandler(void*) + 27
2 clang 0x000000010bb3b438 SignalHandler(int) + 408
3 libsystem_platform.dylib 0x00007fff828ec5aa _sigtramp + 26
4 libsystem_platform.dylib 0x00007fff62a90568 _sigtramp + 3759816664
5 clang 0x000000010bb3b0eb raise + 27
6 clang 0x000000010bb3b1a2 abort + 18
7 clang 0x000000010bb1acf6
llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 198
8 clang 0x000000010a9aae4d
llvm::ARMTargetStreamer::emitArch(unsigned int) + 45
9 clang 0x000000010a94eae8 (anonymous
namespace)::ARMAsmParser::parseDirectiveArch(llvm::SMLoc) + 1160
10 clang 0x000000010a91b44d (anonymous
namespace)::ARMAsmParser::ParseDirective(llvm::AsmToken) + 1293
11 clang 0x000000010afe81f7 (anonymous
namespace)::AsmParser::parseStatement((anonymous
namespace)::ParseStatementInfo&) + 3463
12 clang 0x000000010afe1add (anonymous
namespace)::AsmParser::Run(bool, bool) + 637
13 clang 0x00000001084eb347 ExecuteAssembler((anonymous
namespace)::AssemblerInvocation&, clang::DiagnosticsEngine&) + 5959
14 clang 0x00000001084e858c cc1as_main(char const**, char
const**, char const*, void*) + 1484
15 clang 0x00000001084f17f0 main + 1120
16 libdyld.dylib 0x00007fff8b74d5fd start + 1
17 libdyld.dylib 0x0000000000000011 start + 1955277333
Stack dump:
0. Program arguments: /Users/minyue/Code/llvm/build/Debug+Asserts/bin/clang
-cc1as -triple armv7-apple-ios5.0.0 -filetype obj -main-file-name
celt_pitch_xcorr_arm_gnu.S -target-cpu cortex-a8 -fdebug-compilation-dir
/Users/minyue/Code/llvm/build/Debug+Asserts/bin -dwarf-debug-producer clang
version 3.5 (trunk 202286) (llvm/trunk 202285) -o
/var/folders/00/16lx0000h01000cxqpysvccm004tgm/T/celt_pitch_xcorr_arm_gnu-b82f06.o
/var/folders/00/16lx0000h01000cxqpysvccm004tgm/T/celt_pitch_xcorr_arm_gnu-475906.s
1. Program arguments: -triple armv7-apple-ios5.0.0 -filetype obj
-main-file-name celt_pitch_xcorr_arm_gnu.S -target-cpu cortex-a8
-fdebug-compilation-dir /Users/minyue/Code/llvm/build/Debug+Asserts/bin
-dwarf-debug-producer clang version 3.5 (trunk 202286) (llvm/trunk 202285) -o
/var/folders/00/16lx0000h01000cxqpysvccm004tgm/T/celt_pitch_xcorr_arm_gnu-b82f06.o
/var/folders/00/16lx0000h01000cxqpysvccm004tgm/T/celt_pitch_xcorr_arm_gnu-475906.s
0 clang 0x000000010bb3adae
llvm::sys::PrintStackTrace(__sFILE*) + 46
1 clang 0x000000010bb3b0bb
PrintStackTraceSignalHandler(void*) + 27
2 clang 0x000000010bb3b438 SignalHandler(int) + 408
3 libsystem_platform.dylib 0x00007fff828ec5aa _sigtramp + 26
4 libsystem_platform.dylib 0x00007fff62a90568 _sigtramp + 3759816664
5 clang 0x000000010bb3b0eb raise + 27
6 clang 0x000000010bb3b1a2 abort + 18
7 clang 0x000000010bb1acf6
llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 198
8 clang 0x000000010a9aae4d
llvm::ARMTargetStreamer::emitArch(unsigned int) + 45
9 clang 0x000000010a94eae8 (anonymous
namespace)::ARMAsmParser::parseDirectiveArch(llvm::SMLoc) + 1160
10 clang 0x000000010a91b44d (anonymous
namespace)::ARMAsmParser::ParseDirective(llvm::AsmToken) + 1293
11 clang 0x000000010afe81f7 (anonymous
namespace)::AsmParser::parseStatement((anonymous
namespace)::ParseStatementInfo&) + 3463
12 clang 0x000000010afe1add (anonymous
namespace)::AsmParser::Run(bool, bool) + 637
13 clang 0x00000001084eb347 ExecuteAssembler((anonymous
namespace)::AssemblerInvocation&, clang::DiagnosticsEngine&) + 5959
14 clang 0x00000001084e858c cc1as_main(char const**, char
const**, char const*, void*) + 1484
15 clang 0x00000001084f17f0 main + 1120
16 libdyld.dylib 0x00007fff8b74d5fd start + 1
17 libdyld.dylib 0x0000000000000011 start + 1955277333
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang integrated assembler command failed due to signal (use -v
to see invocation)
clang version 3.5 (trunk 202286) (llvm/trunk 202285)
Target: arm-apple-darwin13.1.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/00/16lx0000h01000cxqpysvccm004tgm/T/celt_pitch_xcorr_arm_gnu-929194.S
clang: note: diagnostic msg:
/var/folders/00/16lx0000h01000cxqpysvccm004tgm/T/celt_pitch_xcorr_arm_gnu-929194.sh
clang: note: diagnostic msg:
--
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/20140228/8ce8c4dd/attachment.html>
More information about the llvm-bugs
mailing list