Displaying 2 results from an estimated 2 matches for "end_catch".
2015 Feb 03
2
[LLVMdev] RFC: Replace __cxa_begin_catch/__cxa_end_catch with intrinsics
...the personality function and try to figure out what kind of preparation and tables it wants.
>
> It seems reasonable then that we could continue along the lines of classifying some personalities as "Itanium" personalities and lowering these new intrinsics out to __cxa_begin_catch / end_catch.
You are over-estimating how similar the code-generation patterns are going to be here. The information flow from the unwind mechanism to the catch clause can differ quite wildly.
Go look at what happens in the different ABIs when an exception with a non-trivial copy constructor is caught. Ther...
2015 Feb 03
4
[LLVMdev] RFC: Replace __cxa_begin_catch/__cxa_end_catch with intrinsics
> On Feb 2, 2015, at 4:53 PM, Reid Kleckner <rnk at google.com> wrote:
> This seems reasonable to me. Adding John explicitly…
Thanks, Reid.
Andy, I understand why Windows EH needs custom lowering here, and using intrinsics seems like a fine approach, but I don’t understand why you’re proposing changing the Itanium code generation pattern. There’s no reason for backends to have