[cfe-dev] [LLVMdev] ARM EABI Exceptions
Duncan Sands
baldrick at free.fr
Thu May 20 02:17:24 PDT 2010
Hi Renato,
> Up until __cxa_throw, everything is fine. The parameters are the same, in the same registers and the table header is similar. The failures come when getting into __cxa_begin_catch, when the PR recognizes the type thrown ('int') but still calls terminate. I'm guessing the action table is different, but there is no documentation on neither LLVM nor GCC intrinsics I could find.
if you compile with -fverbose-asm you should get some helpful comments in the
action table. You could also send the tables to the mailing list.
> Does LLVM have implementations of __cxa_* intrinsics? If so, where are they?
These aren't intrinsics, they are C++ standard library functions.
Ciao,
Duncan.
More information about the cfe-dev
mailing list