clang: lib/CodeGen/CoverageMappingGen.cpp File Reference (original) (raw)
#include "[CoverageMappingGen.h](CoverageMappingGen%5F8h%5Fsource.html)"
#include "[CodeGenFunction.h](CodeGenFunction%5F8h%5Fsource.html)"
#include "[clang/AST/StmtVisitor.h](StmtVisitor%5F8h%5Fsource.html)"
#include "[clang/Basic/Diagnostic.h](Basic%5F2Diagnostic%5F8h%5Fsource.html)"
#include "[clang/Lex/Lexer.h](Lexer%5F8h%5Fsource.html)"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
#include "llvm/ProfileData/Coverage/CoverageMappingReader.h"
#include "llvm/ProfileData/Coverage/CoverageMappingWriter.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include <optional>
#include "llvm/ProfileData/InstrProfData.inc"
Go to the source code of this file.
Namespaces | |
---|---|
namespace | llvm |
Diagnostic wrappers for TextAPI types for error reporting. | |
namespace | llvm::coverage |
Macros | |
---|---|
#define | COVMAP_V3 |
#define | COVMAP_FUNC_RECORD(Type, LLVMType, Name, Init) LLVMType, |
#define | COVMAP_FUNC_RECORD(Type, LLVMType, Name, Init) Init, |
#define | COVMAP_HEADER(Type, LLVMType, Name, Init) LLVMType, |
#define | COVMAP_HEADER(Type, LLVMType, Name, Init) Init, |
Functions | |
---|---|
cl::opt< bool > | llvm::EnableSingleByteCoverage ("enable-single-byte-coverage", llvm:🆑:ZeroOrMore, llvm:🆑:desc("Enable single byte coverage"), llvm:🆑:Hidden, llvm:🆑:init(false)) |
static llvm:🆑:opt< bool > | EmptyLineCommentCoverage ("emptyline-comment-coverage", llvm:🆑:desc("Emit emptylines and comment lines as skipped regions (only " "disable it on test)"), llvm:🆑:init(true), llvm:🆑:Hidden) |
cl::opt< bool > | llvm::coverage::SystemHeadersCoverage ("system-headers-coverage", cl::desc("Enable collecting coverage from system headers"), cl::init(false), cl::Hidden) |
static void | dump (llvm::raw_ostream &OS, StringRef FunctionName, ArrayRef< CounterExpression > Expressions, ArrayRef< CounterMappingRegion > Regions) |
static std::string | getInstrProfSection (const CodeGenModule &CGM, llvm::InstrProfSectKind SK) |
â—† COVMAP_FUNC_RECORD [1/2]
| #define COVMAP_FUNC_RECORD | ( | | Type, | | ---------------------------- | --------- | | --------------------------------------------------------------------- | | | LLVMType, | | | | | | Name, | | | | | | Init | | | | | ) | LLVMType, | | |
â—† COVMAP_FUNC_RECORD [2/2]
| #define COVMAP_FUNC_RECORD | ( | | Type, | | ---------------------------- | ----- | | --------------------------------------------------------------------- | | | LLVMType, | | | | | | Name, | | | | | | Init | | | | | ) | Init, | | |
â—† COVMAP_HEADER [1/2]
| #define COVMAP_HEADER | ( | | Type, | | ---------------------- | --------- | | --------------------------------------------------------------------- | | | LLVMType, | | | | | | Name, | | | | | | Init | | | | | ) | LLVMType, | | |
â—† COVMAP_HEADER [2/2]
| #define COVMAP_HEADER | ( | | Type, | | ---------------------- | ----- | | --------------------------------------------------------------------- | | | LLVMType, | | | | | | Name, | | | | | | Init | | | | | ) | Init, | | |
â—† COVMAP_V3
â—† dump()
static void dump ( llvm::raw_ostream & OS, StringRef FunctionName, ArrayRef< CounterExpression > Expressions, ArrayRef< CounterMappingRegion > Regions ) | static |
---|
â—† EmptyLineCommentCoverage()
static llvm:🆑:opt< bool > EmptyLineCommentCoverage ( "emptyline-comment-coverage" , llvm:🆑:desc("Emit emptylines and comment lines as skipped regions (only " "disable it on test)") , llvm:🆑:init(true) , llvm:🆑:Hidden ) | static |
---|
â—† getInstrProfSection()
static std::string getInstrProfSection ( const CodeGenModule & CGM, llvm::InstrProfSectKind SK ) | static |
---|