aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitWriter.cpp
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/Bitcode/Writer/BitWriter.cpp
parent3e8b6ac54c4868b545b304c95789c01b90945213 (diff)
downloadllvm-b75d8f300cbfba07aad4442a8ef600194e5a8a42.zip
llvm-b75d8f300cbfba07aad4442a8ef600194e5a8a42.tar.gz
llvm-b75d8f300cbfba07aad4442a8ef600194e5a8a42.tar.bz2
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/Bitcode/Writer/BitWriter.cpp')
0 files changed, 0 insertions, 0 deletions