<div dir="ltr">Hi,<div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 10:02 PM, Diego Novillo <span dir="ltr"><<a href="mailto:dnovillo@google.com" target="_blank">dnovillo@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Author: dnovillo<br>
Date: Wed Apr 16 14:02:35 2014<br>
New Revision: 206412<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=206412&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=206412&view=rev</a><br>
Log:<br>
Fix check failure on hexagon targets.<br>
<br>
This test was failing because there is no assembler for hexagon-elf on<br>
this buildbot:<br>
<br>
<a href="http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/10470" target="_blank">http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/10470</a><br>
<br>
Fixed by adding -S to the driver invocation.<br>
<br>
Modified:<br>
    cfe/trunk/test/Frontend/optimization-remark.c<br>
<br></blockquote><div><br></div><div>This test crashes for me on openSUSE Linux 13.1 i586:</div><div><br></div><div><div>abuild@:/home/abuild/rpmbuild/BUILD/llvm/stage2> /home/abuild/rpmbuild/BUILD/llvm/stage2/./bin/clang  -c /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Frontend/optimization-remark.c -Rpass=inline -O0 -gline-tables-only -o /dev/null</div>

<div>0  libLLVMSupport.so 0xf707ef39 llvm::sys::PrintStackTrace(_IO_FILE*) + 41</div><div>Stack dump:</div><div>0.<span class="" style="white-space:pre">      </span>Program arguments: /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/clang-3.5 -cc1 -triple i386-suse-linux -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name optimization-remark.c -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu pentium4 -gline-tables-only -coverage-file /dev/null -resource-dir /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib/clang/3.5.0 -internal-isystem /usr/local/include -internal-isystem /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib/clang/3.5.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O0 -fdebug-compilation-dir /home/abuild/rpmbuild/BUILD/llvm/stage2 -ferror-limit 19 -fmessage-length 127 -mstackrealign -Rpass=inline -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /dev/null -x c /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Frontend/optimization-remark.c </div>

<div>1.<span class="" style="white-space:pre">  </span><eof> parser at end of file</div><div>2.<span class="" style="white-space:pre">        </span>Per-module optimization passes</div><div>3.<span class="" style="white-space:pre">   </span>Running pass 'CallGraph Pass Manager' on module '/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Frontend/optimization-remark.c'.</div>

<div>clang-3.5: error: unable to execute command: Segmentation fault</div><div>clang-3.5: error: clang frontend command failed due to signal (use -v to see invocation)</div><div>clang version 3.5.0 (trunk 206450)</div><div>

Target: i386-suse-linux</div><div>Thread model: posix</div><div>clang-3.5: 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.</div>

<div>clang-3.5: note: diagnostic msg: </div><div>********************</div><div><br></div><div>PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:</div><div>Preprocessed source(s) and associated run script(s) are located at:</div>

<div>clang-3.5: note: diagnostic msg: /tmp/optimization-remark-6248d7.c</div><div>clang-3.5: note: diagnostic msg: /tmp/optimization-remark-6248d7.sh</div><div>clang-3.5: note: diagnostic msg: </div><div><br></div><div>********************</div>

</div><div><br></div></div></div></div></div></div>