<div dir="ltr">Sorry, I'm not sure I follow - what I meant is the patch needs (or should have, unless there's a reason this isn't testable, etc) a test case in Clang's regression suite. Probably in clang/test/CodeGen/debug-info-*<br><br>(you could try removing other targets from that conditional and see which tests fail - that should piont you to where to add tests for this platform)</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 4:44 AM, Alexander Eremin <span dir="ltr"><<a href="mailto:alexander.r.eremin@gmail.com" target="_blank">alexander.r.eremin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello David,<br></div>this is probably same issue as here: <a href="https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00445.html" target="_blank">https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00445.html</a><br><br>Without patch:<br><br># clang++ -v -o /tmp/test /tmp/test.cpp <br>clang version 3.5.0 (tags/RELEASE_350/final)<br>Target: i386-pc-solaris2.11<br>Thread model: posix<br> "/usr/local/bin/clang" -cc1 -triple i386-pc-solaris2.11 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name test.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu pentium4 -target-linker-version  -v -dwarf-column-info -resource-dir /usr/local/bin/../lib/clang/3.5.0 -fdeprecated-macro -fdebug-compilation-dir /tmp/build_root/developer_clang-3.5_pkg/usr -ferror-limit 19 -fmessage-length 168 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o /var/tmp/test-616bb1.o -x c++ /tmp/test.cpp<br>clang -cc1 version 3.5.0 based upon LLVM 3.5.0 default target i386-pc-solaris2.11<br>ignoring nonexistent directory "/opt/gcc4/include/c++/4.2.4"<br>ignoring nonexistent directory "/opt/gcc4/include/c++/4.2.4/i386-pc-solaris2.11/"<br>ignoring nonexistent directory "/opt/gcc4/include/c++/4.2.4/backward"<br>#include "..." search starts here:<br>#include <...> search starts here:<br> /opt/gcc-4.8.1/include/c++/4.8.1<br> /opt/gcc-4.8.1/include/c++/4.8.1//i386-pc-solaris2.11<br> /opt/gcc-4.8.1/include/c++/4.8.1//backward<br> /usr/local/include<br> /usr/local/bin/../lib/clang/3.5.0/include<br> /opt/gcc-4.8.1/include (framework directory)<br> /usr/include<br>End of search list.<br> "/usr/bin/ld" -C -e _start -Bdynamic --dynamic-linker /lib/ld.so.1 -o /tmp/test /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/values-Xa.o /opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/crtbegin.o -L/lib -L/usr/lib -L/opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1 -L/usr/local/bin/../lib -L/usr/lib /var/tmp/test-616bb1.o -lstdc++ -lgcc_s -lgcc -lc -lm /opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/crtend.o /usr/lib/crtn.o<br>ld: fatal: unwind table: file /var/tmp/test-616bb1.o: section .eh_frame: bad cie version 0: offset 0xfffffd7fffdff8a8<br><br>clang: error: linker command failed with exit code 1 (use -v to see invocation)<br><br></div>With patch:<br><br># clang++ -o /tmp/test /tmp/test.cpp<br>#<br></div><div># /tmp/test<br></div><div>Hello World!<br>#<br></div><br><br></div>Alex<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2014-10-15 0:37 GMT+04:00 David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Test coverage?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sat, Oct 11, 2014 at 1:53 PM, Alexander Eremin <span dir="ltr"><<a href="mailto:alexander.r.eremin@gmail.com" target="_blank">alexander.r.eremin@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hello<br></div>provided patch fixes issue with illumos/Solaris linker: Solaris has default dwarf version 2 and linker now fails with error: unwind table: section ._eh_frame: bad cie version 0.<br><br></div><div>Cheers,<br></div><div>Alex<br></div></div>
<br></div></div>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>