[LLVMdev] Getting exceptions to work?

Talin viridia at gmail.com
Tue May 19 14:48:29 PDT 2009


On Tue, May 19, 2009 at 9:45 AM, Nicolas Geoffray
<nicolas.geoffray at lip6.fr> wrote:
> Talin wrote:
>> 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.
>>
>
> Yes, that's what VMKit used to do, until it realized dwarf exceptions
> should never be used for something like Java :)

Can you elaborate on that last point a bit? What problems did you run into?

-- Talin



More information about the llvm-dev mailing list