[llvm-commits] Enable exceptions in JIT for Darwin
Eric Christopher
echristo at apple.com
Tue Aug 19 14:32:20 PDT 2008
On Aug 19, 2008, at 8:04 AM, Nicolas Geoffray wrote:
> Here's a patch that enables exception handling on Darwin with the
> JIT. It's really ugly, it's a workaround to work with libgcc which
> is doing crazy stuff when unwinding the stack. The __register_frame
> function was sufficient enough for Linux, but unfortunately, the
> code for darwin erases by default the registered frames. In a
> perfect world, I think libgcc should be modified....
FWIW this is due to keymgr if I recall correctly. Hopefully that'll
all be fixed at some point, but we can't do it at the moment. I think
your patch looks just fine though. (And yes, ugly code calls for ugly
workarounds. *sigh*)
-eric
More information about the llvm-commits
mailing list