clang  3.9.0
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/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 bool isMachO (const CodeGenModule &CGM)
 
static StringRef getCoverageSection (const CodeGenModule &CGM)
 
static void dump (llvm::raw_ostream &OS, StringRef FunctionName, ArrayRef< CounterExpression > Expressions, ArrayRef< CounterMappingRegion > Regions)
 

Macro Definition Documentation

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

Function Documentation

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

Definition at line 940 of file CoverageMappingGen.cpp.

References isMachO().

Referenced by clang::CodeGen::CoverageMappingModuleGen::emit().

static bool isMachO ( const CodeGenModule CGM)
static