aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2023-08-17 14:57:16 -0700
committerHeejin Ahn <aheejin@gmail.com>2023-09-22 00:34:00 -0700
commite6cbba749490a20127359a3fbd05d8db7faef535 (patch)
treee72258d9a29620042c85b8eccf425b3e2e2bb87c /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
parent8ffe73b6aae0bcae070e406da3117c24936a9da9 (diff)
downloadllvm-e6cbba749490a20127359a3fbd05d8db7faef535.zip
llvm-e6cbba749490a20127359a3fbd05d8db7faef535.tar.gz
llvm-e6cbba749490a20127359a3fbd05d8db7faef535.tar.bz2
[libc++abi][WebAssembly] Support Wasm EH
This adds Wasm-specific libc++abi changes to support Wasm exception handling (https://github.com/WebAssembly/exception-handling). Wasm EH requires `__USING_WASM_EXCEPTIONS__` to be defined. Wasm EH's LSDA handling mostly shares that of SjLj EH. Changes are: - In Wasm, a destructor returns its argument. - Wasm EH currently only has one phase (search) that does both search and cleanup. So added an additional `set_registers` to support that. The bulk of these changes was added back in Mar 2020 in https://github.com/emscripten-core/emscripten/pull/10577 to emscripten repo and has been used ever since. Now we'd like to upstream this so that other toolchains that don't use emscripten libraries, e.g., WASI, can use this too. Companion patch: D158919 Reviewed By: dschuff, #libc_abi, phosek Differential Revision: https://reviews.llvm.org/D158918
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions