LLVM  6.0.0svn
Functions | Variables
ManagedStatic.cpp File Reference
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/MutexGuard.h"
#include "llvm/Support/Threading.h"
#include <cassert>
Include dependency graph for ManagedStatic.cpp:

Go to the source code of this file.

Functions

static void initializeMutex ()
 
static sys::MutexgetManagedStaticMutex ()
 

Variables

static const ManagedStaticBaseStaticList = nullptr
 
static sys::MutexManagedStaticMutex = nullptr
 
static llvm::once_flag mutex_init_flag
 

Function Documentation

◆ getManagedStaticMutex()

static sys::Mutex* getManagedStaticMutex ( )
static

◆ initializeMutex()

static void initializeMutex ( )
static

Definition at line 26 of file ManagedStatic.cpp.

Referenced by getManagedStaticMutex().

Variable Documentation

◆ ManagedStaticMutex

sys::Mutex* ManagedStaticMutex = nullptr
static

Definition at line 23 of file ManagedStatic.cpp.

Referenced by getManagedStaticMutex().

◆ mutex_init_flag

llvm::once_flag mutex_init_flag
static

Definition at line 24 of file ManagedStatic.cpp.

Referenced by getManagedStaticMutex().

◆ StaticList

const ManagedStaticBase* StaticList = nullptr
static

Definition at line 22 of file ManagedStatic.cpp.

Referenced by llvm::ManagedStaticBase::RegisterManagedStatic().