[LLVMdev] Darwin vs exceptions

Anton Korobeynikov asl at math.spbu.ru
Sat Dec 8 04:17:02 PST 2007


Chris,

> That's an easy problem.  I just implemented __builtin_return_address
> on PPC, at least builtin_return_address(0), please let me know if that
> is sufficient.
There are bunch of another builtins required for eh to execute properly.
The 3 most important one are:
- eh_return
- unwind_init
- dwarf_cfa

The first two precisely match to the gcc's ones, the third - slightly
differs, because is catches some extra information from the frontend.

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-dev mailing list