[llvm-dev] SjLj exception handling impl (original) (raw)

Yuanfang Chen via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 24 09:15:10 PST 2018


Hi,

http://llvm.org/docs/ExceptionHandling.html#setjmp-longjmp-exception-handling says "Setjmp/Longjmp (SJLJ) based exception handling uses LLVM intrinsics llvm.eh.sjlj.setjmp and llvm.eh.sjlj.longjmp to handle control flow for exception handling."

Is this still true at least for X86? "clang++ -fsjlj-exceptions -fcxx-exceptions -S -emit-llvm -O1 eh.cpp" still gives me the usual invoke, landingpad etc..

Or llvm.eh.sjlj.* are only lowered from corresponding clang builtins?

Thanks.



More information about the llvm-dev mailing list