|
LLVM
4.0.0
|
#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/Hashing.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/IR/DebugInfo.h"#include "llvm/IR/DebugLoc.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/InstIterator.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/IntrinsicInst.h"#include "llvm/IR/Module.h"#include "llvm/Pass.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Debug.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/Path.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Transforms/GCOVProfiler.h"#include "llvm/Transforms/Instrumentation.h"#include "llvm/Transforms/Utils/ModuleUtils.h"#include <algorithm>#include <memory>#include <string>#include <utility>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "insert-gcov-profiling" |
Functions | |
| INITIALIZE_PASS (GCOVProfilerLegacyPass,"insert-gcov-profiling","Insert instrumentation for GCOV profiling", false, false) ModulePass *llvm | |
| static StringRef | getFunctionName (const DISubprogram *SP) |
| static bool | functionHasLines (Function &F) |
Variables | |
| static cl::opt< std::string > | DefaultGCOVVersion ("default-gcov-version", cl::init("402*"), cl::Hidden, cl::ValueRequired) |
| static cl::opt< bool > | DefaultExitBlockBeforeBody ("gcov-exit-block-before-body", cl::init(false), cl::Hidden) |
| #define DEBUG_TYPE "insert-gcov-profiling" |
Definition at line 46 of file GCOVProfiling.cpp.
Definition at line 483 of file GCOVProfiling.cpp.
References llvm::DebugLoc::getLine(), and I.
|
static |
Definition at line 162 of file GCOVProfiling.cpp.
References llvm::DIScope::getName().
| INITIALIZE_PASS | ( | GCOVProfilerLegacyPass | , |
| "insert-gcov-profiling" | , | ||
| "Insert instrumentation for GCOV profiling" | , | ||
| false | , | ||
| false | |||
| ) |
Definition at line 155 of file GCOVProfiling.cpp.
|
static |
Referenced by llvm::GCOVOptions::getDefault().
|
static |
Referenced by llvm::GCOVOptions::getDefault().
1.8.6