<br><br><div class="gmail_quote">2010/1/22 Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi James,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes - sorry I was unclear. I have pruned everything down to a pretty minimal test:<br>
- LLVM 2.6 compiled from source<br>
- A slightly modified version of Duncan's example ll assembly posted earlier<br>
- A minimal personality function (just a call to fprintf()) in a separate C file compiled with gcc-llvm<br>
- A single C++ function in a third file that simply does "throw 1;" compiled with g++-llvm<br>
- I can definitely see the personality function in the exception headers and it's definitely not being called.<br>
- If i replace "throw 1" with "result = _Unwind_RaiseException" then result is 5 - i.e. END_OF_STACK.<br>
</blockquote>
<br></div>
want to send us your testcase code? Then we can give it a whirl.<br></blockquote><div><br>Test code is at <a href="http://giantblob.com/ehtest.tar.gz">http://giantblob.com/ehtest.tar.gz</a><br><br>Thanks for the help. I apologize in advance if it turns out I'm doing something stupid!<br>
<br>-- James<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Ciao,<br><font color="#888888">
<br>
Duncan.<br>
<br>
</font></blockquote></div><br>