Skip to content
Commit b75d8f30 authored by Chris Bieneman's avatar Chris Bieneman
Browse files

Removing the static destructor from ManagedStatic.cpp by controlling the...

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
parent 3e8b6ac5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment