aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorMarkus Böck <markus.boeck02@gmail.com>2020-01-31 11:27:21 +0200
committerMartin Storsjö <martin@martin.st>2020-01-31 11:32:36 +0200
commit3f6a2f1ec520651305beaef79fc3f19ebf4ebda6 (patch)
tree976f1db88126460491471fc922c29fb2ce6470c8 /llvm/lib/IR/Module.cpp
parentbf8357d4200ddae9613b7c35c32b978bb84d773e (diff)
downloadllvm-3f6a2f1ec520651305beaef79fc3f19ebf4ebda6.zip
llvm-3f6a2f1ec520651305beaef79fc3f19ebf4ebda6.tar.gz
llvm-3f6a2f1ec520651305beaef79fc3f19ebf4ebda6.tar.bz2
[Support] Wrap extern TLS variable in getter function
This patch wraps an external thread local storage variable inside of a getter function and makes it have internal linkage. This allows LLVM to be built with BUILD_SHARED_LIBS on windows with MinGW. Additionally it allows Clang versions prior to 10 to compile current trunk for MinGW. Differential Revision: https://reviews.llvm.org/D73639
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions