LLVM API Documentation

Debug.cpp File Reference

#include "llvm/Support/Debug.h"
#include "llvm/Support/CommandLine.h"

Include dependency graph for Debug.cpp:

Go to the source code of this file.

Functions

bool llvm::isCurrentDebugType (const char *DebugType)

Variables

cl::opt< bool, true > Debug ("debug", cl::desc("Enable debug output"), cl::Hidden, cl::location(DebugFlag))
std::string CurrentDebugType
{ ... } ::DebugOnlyOpt DebugOnlyOptLoc
cl::opt< DebugOnlyOpt, true,
cl::parser< std::string > > 
DebugOnly ("debug-only", cl::desc("Enable a specific type of debug output"), cl::Hidden, cl::value_desc("debug string"), cl::location(DebugOnlyOptLoc), cl::ValueRequired)


Variable Documentation

std::string CurrentDebugType [static]

Definition at line 40 of file Debug.cpp.

cl::opt<bool, true> Debug("debug", cl::desc("Enable debug output"), cl::Hidden, cl::location(DebugFlag)) [static]

cl::opt<DebugOnlyOpt, true, cl::parser<std::string> > DebugOnly("debug-only", cl::desc("Enable a specific type of debug output"), cl::Hidden, cl::value_desc("debug string"), cl::location(DebugOnlyOptLoc), cl::ValueRequired) [static]

struct { ... } DebugOnlyOpt DebugOnlyOptLoc [static]