llvm::llvm_shutdown_obj

llvm_shutdown_obj - This is a simple helper class that calls llvm_shutdown() when it is destroyed.

Synopsis

Declared in <llvm/Support/ManagedStatic.h>

struct llvm_shutdown_obj;

Member Functions

NameDescription
llvm_shutdown_obj [constructor]Construct an object that will call llvm_shutdown() on destruction.
~llvm_shutdown_obj [destructor]Call llvm_shutdown() to destroy all ManagedStatic variables.