Descriptionlibstdc++: Add support for exception handling using the PNaClSjLjEH LLVM pass
Extend libsupc++ with support for SJLJ (setjmp()+longjmp()-based) C++
exception handling. The routines assume that the program has been
transformed using the PNaClSjLjEH LLVM pass, which inserts setjmp()
calls around function calls that need to handle C++ exceptions.
As noted in the comments, this will coexist with non-SJLJ (zero cost)
exception handling within the same build of libstdc++. When SJLJ is
enabled, pnacl-ld.py will rename
__pnacl_eh_sjlj_Unwind_RaiseException() to _Unwind_RaiseException() at
link time to enable eh_pnacl.cc.
Note that this code attempts to follow the GNU C++ style.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3696
TEST=GCC torture tests; tested with PNaCl-side plumbing in pnacl-ld.py etc.
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-gcc.git;a=commit;h=e986927
Patch Set 1 #Patch Set 2 : Cleanup #Patch Set 3 : Retry upload #
Total comments: 2
Patch Set 4 : Add comments #
Total comments: 1
Patch Set 5 : More comments #
Messages
Total messages: 9 (0 generated)
|