[all-commits] [llvm/llvm-project] 1c5a3c: [WebAssembly] Make SjLj lowering globals thread-local
Thomas Lively via All-commits
all-commits at lists.llvm.org
Thu Sep 24 14:56:38 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1c5a3c4d382353e582ecf4913e338599028e267f
https://github.com/llvm/llvm-project/commit/1c5a3c4d382353e582ecf4913e338599028e267f
Author: Thomas Lively <tlively at google.com>
Date: 2020-09-24 (Thu, 24 Sep 2020)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
M llvm/test/CodeGen/WebAssembly/lower-em-exceptions.ll
M llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll
Log Message:
-----------
[WebAssembly] Make SjLj lowering globals thread-local
Emscripten's longjump and exception mechanism depends on two global variables,
`__THREW__` and `__threwValue`, which are changed to be defined as thread-local
in https://github.com/emscripten-core/emscripten/pull/12056. This patch updates
the corresponding code in the WebAssembly backend to properly declare these
globals as thread-local as well.
Differential Revision: https://reviews.llvm.org/D88262
More information about the All-commits
mailing list