47 cl::desc(
"Buffer the last N characters of debug output "
48 "until program termination. "
49 "[default 0 -- immediate print-out]"),
58 void operator=(
const std::string &Val)
const {
103 static struct dbgstream {
107 strm(
errs(),
"*** Debug Log Output ***\n",
COFF::RelocationTypeX86 Type
static std::string CurrentDebugType
static DebugOnlyOpt DebugOnlyOptLoc
void setCurrentDebugType(const char *Type)
initializer< Ty > init(const Ty &Val)
static cl::opt< unsigned > DebugBufferSize("debug-buffer-size", cl::desc("Buffer the last N characters of debug output ""until program termination. ""[default 0 -- immediate print-out]"), cl::Hidden, cl::init(0))
void flushBufferWithBanner()
raw_ostream & dbgs()
dbgs - Return a circular-buffered debug stream.
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)
bool EnableDebugBuffering
static cl::opt< bool, true > Debug("debug", cl::desc("Enable debug output"), cl::Hidden, cl::location(DebugFlag))
static void debug_user_sig_handler(void *Cookie)
LocationClass< Ty > location(Ty &L)
void AddSignalHandler(void(*FnPtr)(void *), void *Cookie)
bool isCurrentDebugType(const char *Type)