[LLVMdev] Getting exceptions to work?
Talin
viridia at gmail.com
Mon May 18 23:20:24 PDT 2009
Anton Korobeynikov wrote:
> Hello, Talin
>
>
>> By using the llvm.eh* intrinsics, I have managed to get the code to call
>> my custom personality function without crashing. However, what I don't
>> yet understand is how to get the result from the personality function
>> back to the landing pad.
>>
> You might find this useful:
> http://www.codesourcery.com/public/cxx-abi/abi-eh.html#cxx-catch
>
I've been reading that. But what's not clear is how to translate that
into LLVM-speak. For example, what value would you pass to _Unwind_SetIP?
-- Talin
More information about the llvm-dev
mailing list