LLVM  6.0.0svn
Functions
GCOV.cpp File Reference
#include "llvm/Support/GCOV.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <system_error>
Include dependency graph for GCOV.cpp:

Go to the source code of this file.

Functions

static uint32_t safeDiv (uint64_t Numerator, uint64_t Divisor)
 
static uint32_t branchDiv (uint64_t Numerator, uint64_t Divisor)
 
static std::string mangleCoveragePath (StringRef Filename, bool PreservePaths)
 Convert a path to a gcov filename. More...
 

Function Documentation

◆ branchDiv()

static uint32_t branchDiv ( uint64_t  Numerator,
uint64_t  Divisor 
)
static

◆ mangleCoveragePath()

static std::string mangleCoveragePath ( StringRef  Filename,
bool  PreservePaths 
)
static

◆ safeDiv()

static uint32_t safeDiv ( uint64_t  Numerator,
uint64_t  Divisor 
)
static

Definition at line 448 of file GCOV.cpp.

Referenced by llvm::FileInfo::print().