LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
GCOVProfiling.cpp File Reference
#include "llvm/Transforms/Instrumentation.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/UniqueVector.h"
#include "llvm/DebugInfo.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/DebugLoc.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/ModuleUtils.h"
#include <algorithm>
#include <string>
#include <utility>
Include dependency graph for GCOVProfiling.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "insert-gcov-profiling"
 

Functions

 INITIALIZE_PASS (GCOVProfiler,"insert-gcov-profiling","Insert instrumentation for GCOV profiling", false, false) ModulePass *llvm
 
static std::string getFunctionName (DISubprogram SP)
 

Variables

static cl::opt< std::string > DefaultGCOVVersion ("default-gcov-version", cl::init("402*"), cl::Hidden, cl::ValueRequired)
 

Macro Definition Documentation

#define DEBUG_TYPE   "insert-gcov-profiling"

Definition at line 17 of file GCOVProfiling.cpp.

Function Documentation

static std::string getFunctionName ( DISubprogram  SP)
static
INITIALIZE_PASS ( GCOVProfiler  ,
"insert-gcov-profiling"  ,
"Insert instrumentation for GCOV profiling"  ,
false  ,
false   
)

Definition at line 141 of file GCOVProfiling.cpp.

Variable Documentation

cl::opt<std::string> DefaultGCOVVersion("default-gcov-version", cl::init("402*"), cl::Hidden, cl::ValueRequired)
static