[LLVMdev] Unwinds gone missing

Talin viridia at gmail.com
Thu Dec 18 23:45:27 PST 2008


After much delay, I have finally reached the point in my work where I 
need to implement some kind of exception handling. I understand that 
"unwind" is currently unimplemented and will remain so for the 
forseeable future.

In the mean time, are there any examples available for implementing Java 
or Python-style exceptions using __cxa_throw or something similar? I've 
read and re-read the various docs on exception handling and I'm not 
attaining understanding.

I'm mainly interested in knowing how to generate code that is as 
efficient as possible while still allowing exception objects to live on 
the garbage-collected heap.

-- Talin




More information about the llvm-dev mailing list