[WebAssembly] Error out for setjmp within catch clause for Wasm SjLj
Wasm EH, used with either of Emscripten SjLj or Wasm SjLj, does not allow `setjmp` calls to be placed within a `catch` clause, because we don't support jumping into a `catch` block. Emscripten EH does not have this restriction. But I think this restriction wouldn't prevent most of use cases. This CL errors out with a clear messsage for this case. Reviewed By: dschuff, kripken Differential Revision: https://reviews.llvm.org/D118286
Loading
Please sign in to comment