summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2014-10-13 22:37:25 +0000
committerChris Bieneman <beanz@apple.com>2014-10-13 22:37:25 +0000
commitb75d8f300cbfba07aad4442a8ef600194e5a8a42 (patch)
treee6cdfb42daa86dec381a0ba8bae9aa526c64155c /llvm/lib/Transforms
parent3e8b6ac54c4868b545b304c95789c01b90945213 (diff)
downloadbcm5719-llvm-b75d8f300cbfba07aad4442a8ef600194e5a8a42.tar.gz
bcm5719-llvm-b75d8f300cbfba07aad4442a8ef600194e5a8a42.zip
Removing the static destructor from ManagedStatic.cpp by controlling the allocation and de-allocation of the mutex.
This patch adds a new llvm_call_once function which is used by the ManagedStatic implementation to safely initialize a global to avoid static construction and destruction. llvm-svn: 219638
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud