diff options
author | Chris Bieneman <beanz@apple.com> | 2014-10-13 22:37:25 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2014-10-13 22:37:25 +0000 |
commit | b75d8f300cbfba07aad4442a8ef600194e5a8a42 (patch) | |
tree | e6cdfb42daa86dec381a0ba8bae9aa526c64155c /llvm/lib/Transforms | |
parent | 3e8b6ac54c4868b545b304c95789c01b90945213 (diff) | |
download | bcm5719-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