summaryrefslogtreecommitdiff
path: root/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-06-11 04:08:55 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-06-11 04:08:55 +0000
commitf64ce123281c6b9084542db29ab776ad65d7f1f2 (patch)
tree25edbe11548e3c2f389a72998ad4619e8b1c15a4 /lib/Serialization/ModuleManager.cpp
parent1441ef575a2635e6a6f53e7681f3d92e0573d238 (diff)
downloadclang-f64ce123281c6b9084542db29ab776ad65d7f1f2.tar.gz
clang-f64ce123281c6b9084542db29ab776ad65d7f1f2.tar.bz2
clang-f64ce123281c6b9084542db29ab776ad65d7f1f2.tar.xz
CodeGen: Correct linkage of thread_local for OS X
The backing store of thread local variables is internal for OS X and all accesses must go through the thread wrapper. However, individual TUs may have inlined through the thread wrapper. To fix this, give the thread wrapper functions WeakAnyLinkage. This prevents them from getting inlined into call-sites. This fixes PR19989. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions