[LLVMdev] Getting exceptions to work?

Talin viridia at gmail.com
Tue May 19 09:20:02 PDT 2009


Duncan Sands wrote:
> I would just use the C personality function, __gcc_personality_v0, if
> I were you.  It should know where to jump to because the code generators
> record the invoke unwind target in the dwarf exception handling info in
> the object file.
>
>   
I see. OK, I will try that.

I was hoping to be able to test the exception type in the personality 
function - the language I am working on has its own type system, 
unrelated to C or C++, so I want to minimize reliance on C++ exception 
handling libraries. In this case, I guess I can do the exception type 
checking in the landing pad instead of the personality function.

-- Talin




More information about the llvm-dev mailing list