LLVM API Documentation
#include "llvm/IR/LeakDetector.h"
#include "LLVMContextImpl.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/Threading.h"
Go to the source code of this file.
Functions | |
static void | clearGarbage (LLVMContext &Context) |
Variables | |
static ManagedStatic < sys::SmartMutex< true > > | ObjectsLock |
static ManagedStatic < LeakDetectorImpl< void > > | Objects |
static void clearGarbage | ( | LLVMContext & | Context | ) | [static] |
Definition at line 27 of file LeakDetector.cpp.
References llvm::LeakDetectorImpl< T >::clear(), llvm::LLVMContextImpl::LLVMObjects, Objects, and llvm::LLVMContext::pImpl.
ManagedStatic<LeakDetectorImpl<void> > Objects [static] |
Definition at line 25 of file LeakDetector.cpp.
Referenced by AddAliasScopeMetadata(), clearGarbage(), llvm::MachineFrameInfo::CreateFixedObject(), llvm::MachineFrameInfo::CreateFixedSpillStackObject(), llvm::MachineFrameInfo::CreateSpillStackObject(), llvm::MachineFrameInfo::CreateStackObject(), llvm::MachineFrameInfo::CreateVariableSizedObject(), and llvm::MachineFrameInfo::print().
ManagedStatic<sys::SmartMutex<true> > ObjectsLock [static] |
Definition at line 24 of file LeakDetector.cpp.