diff options
author | Thomas Lively <tlively@google.com> | 2020-09-24 14:56:19 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2020-09-24 14:56:19 -0700 |
commit | 1c5a3c4d382353e582ecf4913e338599028e267f (patch) | |
tree | 8f4c44cb82df9a04db400a9f4ced1a263a70231e /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a079f619b5a1959af8af37cabdea27ae542903db (diff) | |
download | llvm-1c5a3c4d382353e582ecf4913e338599028e267f.zip llvm-1c5a3c4d382353e582ecf4913e338599028e267f.tar.gz llvm-1c5a3c4d382353e582ecf4913e338599028e267f.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions