[all-commits] [llvm/llvm-project] 26d587: [WebAssembly] Error out for setjmp within catch cl...
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Thu Jan 27 21:06:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 26d587cf0f153724dd9b4307773caa2ffba08ef4
https://github.com/llvm/llvm-project/commit/26d587cf0f153724dd9b4307773caa2ffba08ef4
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2022-01-27 (Thu, 27 Jan 2022)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
A llvm/test/CodeGen/WebAssembly/wasm-eh-sjlj-setjmp-within-catch.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list