LLVM API Documentation
#include "llvm/Support/Debug.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/circular_raw_ostream.h"
#include "llvm/Support/ManagedStatic.h"
Go to the source code of this file.
Functions | |
static void | debug_user_sig_handler (void *Cookie) |
Variables | |
static cl::opt< bool, true > | Debug ("debug", cl::desc("Enable debug output"), cl::Hidden, cl::location(DebugFlag)) |
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)) |
static ManagedStatic< std::string > | CurrentDebugType |
static DebugOnlyOpt | DebugOnlyOptLoc |
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 void debug_user_sig_handler | ( | void * | Cookie | ) | [static] |
Definition at line 75 of file Debug.cpp.
References llvm::dbgs(), and llvm::circular_raw_ostream::flushBufferWithBanner().
Referenced by llvm::dbgs().
ManagedStatic<std::string> CurrentDebugType [static] |
Definition at line 54 of file Debug.cpp.
Referenced by llvm::isCurrentDebugType(), and llvm::setCurrentDebugType().
cl::opt<bool, true> Debug("debug", cl::desc("Enable debug output"), cl::Hidden, cl::location(DebugFlag)) [static] |
Referenced by llvm::MCObjectStreamer::EmitCFISections().
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)) [static] |
Referenced by llvm::dbgs().
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] |
DebugOnlyOpt DebugOnlyOptLoc [static] |