summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/GVMaterializer.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
commit35ab328e942259b6ebb75785f54abbfdf6f50d93 (patch)
treecc50a07928a9a2b04cbbff3a9aae354bfc8eca6e /llvm/lib/IR/GVMaterializer.cpp
parenta813d608a943579804eb9f12c8ede2955bb3a777 (diff)
downloadbcm5719-llvm-35ab328e942259b6ebb75785f54abbfdf6f50d93.tar.gz
bcm5719-llvm-35ab328e942259b6ebb75785f54abbfdf6f50d93.zip
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. llvm-svn: 210632
Diffstat (limited to 'llvm/lib/IR/GVMaterializer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud