LLVM  8.0.1
Functions | Variables
DebugCounter.cpp File Reference
#include "llvm/Support/DebugCounter.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Options.h"
Include dependency graph for DebugCounter.cpp:

Go to the source code of this file.

Functions

static DebugCounterList DebugCounterOption ("debug-counter", cl::Hidden, cl::desc("Comma separated list of debug counter skip and count"), cl::CommaSeparated, cl::ZeroOrMore, cl::location(DebugCounter::instance()))
 

Variables

static cl::opt< boolPrintDebugCounter ("print-debug-counter", cl::Hidden, cl::init(false), cl::Optional, cl::desc("Print out debug counter info after all counters accumulated"))
 
static ManagedStatic< DebugCounterDC
 

Function Documentation

◆ DebugCounterOption()

static DebugCounterList DebugCounterOption ( "debug-counter"  ,
cl::Hidden  ,
cl::desc("Comma separated list of debug counter skip and count")  ,
cl::CommaSeparated  ,
cl::ZeroOrMore  ,
cl::location(DebugCounter::instance())   
)
static

Variable Documentation

◆ DC

◆ PrintDebugCounter

cl::opt<bool> PrintDebugCounter("print-debug-counter", cl::Hidden, cl::init(false), cl::Optional, cl::desc("Print out debug counter info after all counters accumulated"))
static