In some platforms _setjmp and _longjmp are used instead of setjmp
and longjmp. This CL adds support for them.
Fixes https://github.com/emscripten-core/emscripten/issues/14999.
Paths
| Differential D109669
[WebAssembly] Handle _setjmp and _longjmp in SjLj ClosedPublic Authored by aheejin on Sep 12 2021, 7:16 PM.
Details Summary In some platforms _setjmp and _longjmp are used instead of setjmp Fixes https://github.com/emscripten-core/emscripten/issues/14999.
Diff Detail
Event TimelineHerald added subscribers: wingo, ecnelises, sunfish and 3 others. · View Herald TranscriptSep 12 2021, 7:16 PM Comment Actions otherwise LGTM
This revision is now accepted and ready to land.Sep 13 2021, 2:14 PM This revision was landed with ongoing or failed builds.Sep 13 2021, 2:46 PM Closed by commit rGc55b6c593b32: [WebAssembly] Handle _setjmp and _longjmp in SjLj (authored by aheejin). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 372348 llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll
|
I wanted to name these variable _SetjmpF of SetjmpF, but clang-tidy didn't like it...