<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - arm assembler crashes Clang"
   href="http://llvm.org/bugs/show_bug.cgi?id=19003">19003</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>arm assembler crashes Clang
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>minyue@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12165" name="attach_12165" title="the arm assembler">attachment 12165</a> <a href="attachment.cgi?id=12165&action=edit" title="the arm assembler">[details]</a></span>
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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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:</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>