[PATCH] D64900: [WebAssembly] Implement __builtin_wasm_tls_base intrinsic
Guanzhong Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 17 17:38:32 PDT 2019
quantum created this revision.
quantum added reviewers: tlively, aheejin, sbc100.
Herald added subscribers: llvm-commits, cfe-commits, sunfish, hiraditya, jgravelle-google, dschuff.
Herald added projects: clang, LLVM.
Add `__builtin_wasm_tls_base` so that LeakSanitizer can find the thread-local
block and scan through it for memory leaks.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64900
Files:
clang/include/clang/Basic/BuiltinsWebAssembly.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/builtins-wasm.c
llvm/include/llvm/IR/IntrinsicsWebAssembly.td
llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
llvm/test/CodeGen/WebAssembly/tls-general-dynamic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64900.210469.patch
Type: text/x-patch
Size: 3728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190718/384640d9/attachment-0001.bin>
More information about the cfe-commits
mailing list