[LLVMdev] Getting exceptions to work?
resistor at mac.com
Tue May 19 18:06:52 PDT 2009
On May 19, 2009, at 2:48 PM, Talin wrote:
> On Tue, May 19, 2009 at 9:45 AM, Nicolas Geoffray
> <nicolas.geoffray at lip6.fr> wrote:
>> Talin wrote:
>> 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?
DWARF exceptions (aka zero-cost exceptions) are optimized to be
efficient when no exceptions are thrown. They're not efficient at all
when exceptions are thrown, so they tend to be a poor match for
languages like Java where exceptions are relatively common.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2620 bytes
Desc: not available
More information about the llvm-dev