[builtins] Implement emulated TLS on Windows.
authorFrederich Munch <colsebas@hotmail.com>
Tue, 25 Apr 2017 19:04:19 +0000 (19:04 +0000)
committerFrederich Munch <colsebas@hotmail.com>
Tue, 25 Apr 2017 19:04:19 +0000 (19:04 +0000)
commit922b602683fe80e130a51d05b547cc6fb690b59d
treec854a8c5245c56cb980de73b663f4169584a0053
parent20e13d4a3868fff5beac98e3ea78ac51d61738ea
[builtins] Implement emulated TLS on Windows.

Summary:
LLVM JIT needs to be able to use emulated TLS on all platforms, and this provides a reference one can compile to enable emutls for Linux/Mac/Windows.

Reviewers: chh, howard.hinnant

Reviewed By: chh

Subscribers: mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D30787

llvm-svn: 301350
compiler-rt/lib/builtins/CMakeLists.txt
compiler-rt/lib/builtins/emutls.c