LLVM: lib/Support/Debug.cpp File Reference (original) (raw)

Go to the source code of this file.

Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Functions
static std::pair< std::string, std::optional< int > > parseDebugType (StringRef DbgType)
Parse a debug type string into a pair of the debug type and the debug level.
LLVM_ABI bool llvm::isCurrentDebugType (const char *Type, int Level=0)
isCurrentDebugType - Return true if the specified string is the debug type specified on the command line, or if none was specified on the command line with the -debug-only=X option.
LLVM_ABI void llvm::setCurrentDebugTypes (const char **Types, unsigned Count)
setCurrentDebugTypes - Set the current debug type, as if the -debug-only=X,Y,Z option were specified.
LLVM_ABI void llvm::setCurrentDebugType (const char *Type)
setCurrentDebugType - Set the current debug type, as if the -debug-only=X option were specified.
static void debug_user_sig_handler (void *Cookie)
Variables
static ManagedStatic< std::vector< std::pair< std::string, std::optional< int > > > > llvm::CurrentDebugType
The current debug type and an optional debug level.
static ManagedStatic< cl::opt< bool, true >, CreateDebug > Debug
static ManagedStatic< cl::opt< unsigned >, CreateDebugBufferSize > DebugBufferSize
static DebugOnlyOpt DebugOnlyOptLoc
static ManagedStatic< cl::opt< DebugOnlyOpt, true, cl::parser< std::string > >, CreateDebugOnly > DebugOnly

debug_user_sig_handler()

void debug_user_sig_handler ( void * Cookie) static

parseDebugType()

DebugBufferSize

DebugOnly

DebugOnlyOptLoc

DebugOnlyOpt DebugOnlyOptLoc static