This switches CrashRecoveryContext to using ManagedStatic for its global Mutex and
authorFilip Pizlo <fpizlo@apple.com>
Thu, 12 Sep 2013 17:46:57 +0000 (17:46 +0000)
committerFilip Pizlo <fpizlo@apple.com>
Thu, 12 Sep 2013 17:46:57 +0000 (17:46 +0000)
commit63fe0669ad5005aacd89f57855d30f905a7dbd92
tree5fb76b96bf5440097546b65379db365c45d9e951
parent1f1bd9a54d25d4e2c5da13c2cae7fa5e3d8acc9f
This switches CrashRecoveryContext to using ManagedStatic for its global Mutex and
global ThreadLocals, thereby getting rid of the load-time initialization of those
objects and also getting rid of their destruction unless the LLVM client calls
llvm_shutdown.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190617 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CrashRecoveryContext.cpp