<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 12 November 2015 at 11:17, deadalnix via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thursday, 12 November 2015 at 10:09:10 UTC, Iain Buclaw wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On 12 November 2015 at 07:50, Walter Bright via Digitalmars-d < <a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>> wrote:<br>
<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I really appreciate the offers, and here's what will really help:<br>
<br>
Writing the druntime end of things, which is really providing just two functions: d_throw (d_dwarf_throw to distinguish it) and the libunwind personality function: __dmd_personality_v0. The tricky part with the personality function will likely be recognizing std::exception* exceptions. I wonder if forwarding the call to __gxx_personality_v0 will work.<br>
<br>
<br>
</blockquote></span><span class="">
I'll have to check, but I'm pretty certain that libunwind will call the C++ personality for you if you return `nothing found` from D personality function.<br>
</span></blockquote>
<br>
The personality function is in the landingpad metadata. Why would libunwind call the C++ one out of nowhere ?<br>
</blockquote></div><br></div><div class="gmail_extra">I did say that I'd have to check. :-)<br><br></div><div class="gmail_extra">In any case, I'm doubtful that forwarding to C++'s personality would work.<br></div><div class="gmail_extra"><br><br></div></div>