clang  6.0.0svn
Macros | Functions
CoverageMappingGen.cpp File Reference
#include "CoverageMappingGen.h"
#include "CodeGenFunction.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ProfileData/Coverage/CoverageMapping.h"
#include "llvm/ProfileData/Coverage/CoverageMappingReader.h"
#include "llvm/ProfileData/Coverage/CoverageMappingWriter.h"
#include "llvm/ProfileData/InstrProfReader.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/ProfileData/InstrProfData.inc"
Include dependency graph for CoverageMappingGen.cpp:

Go to the source code of this file.

Macros

#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

static void dump (llvm::raw_ostream &OS, StringRef FunctionName, ArrayRef< CounterExpression > Expressions, ArrayRef< CounterMappingRegion > Regions)
 

Macro Definition Documentation

◆ 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,

Function Documentation

◆ dump()

static void dump ( llvm::raw_ostream &  OS,
StringRef  FunctionName,
ArrayRef< CounterExpression >  Expressions,
ArrayRef< CounterMappingRegion >  Regions 
)
static

Definition at line 1140 of file CoverageMappingGen.cpp.

Referenced by clang::ModuleMap::addAdditionalModuleMapFile(), clang::CodeGen::CGBitFieldInfo::CGBitFieldInfo(), clang::ento::PathDiagnosticControlFlowPiece::classof(), clang::ento::PathDiagnosticMacroPiece::classof(), clang::ento::PathDiagnosticNotePiece::classof(), clang::Decl::classofKind(), clang::ento::ProgramState::contains(), clang::comments::Comment::dump(), clang::Stmt::dump(), clang::QualType::dump(), clang::Decl::dump(), clang::Type::dump(), clang::ento::PathPieces::flatten(), clang::CodeGen::CGRecordLayout::getBitFieldInfo(), clang::ento::PathDiagnosticEventPiece::getCallStackMessage(), clang::Type::getCanonicalTypeInternal(), GetGCAttrTypeForType(), clang::ento::PathDiagnosticLocation::getManager(), clang::ast_type_traits::DynTypedNode::getMemoizationData(), clang::TemplateArgument::getPackAsArray(), clang::CFGBlock::getParent(), clang::ento::RegionRawOffset::getRegion(), getSimplifiedOffsets(), clang::Stmt::getStmtClass(), clang::DeclarationName::getTombstoneMarker(), clang::SourceManager::hasFileInfo(), clang::ento::PathDiagnosticPiece::isLastInMainSourceFile(), clang::serialization::ModuleFile::isModule(), clang::SourceLocation::isPairOfFileLocations(), clang::ento::MemRegion::MemRegion(), clang::FullSourceLoc::BeforeThanCompare::operator()(), clang::ento::CallEvent::param_type_end(), clang::ASTReader::PrintStats(), clang::tooling::SelectedASTNode::SelectedASTNode(), clang::Scope::setNoNRVO(), clang::CFG::size(), clang::QualType::stream(), and clang::TemplateName::TemplateName().