LLVM  6.0.0svn
Functions
InstrumentationMap.cpp File Reference
#include "llvm/XRay/InstrumentationMap.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Triple.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/YAMLTraits.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <system_error>
#include <vector>
Include dependency graph for InstrumentationMap.cpp:

Go to the source code of this file.

Functions

static Error loadELF64 (StringRef Filename, object::OwningBinary< object::ObjectFile > &ObjFile, InstrumentationMap::SledContainer &Sleds, InstrumentationMap::FunctionAddressMap &FunctionAddresses, InstrumentationMap::FunctionAddressReverseMap &FunctionIds)
 
static Error loadYAML (int Fd, size_t FileSize, StringRef Filename, InstrumentationMap::SledContainer &Sleds, InstrumentationMap::FunctionAddressMap &FunctionAddresses, InstrumentationMap::FunctionAddressReverseMap &FunctionIds)
 

Function Documentation

◆ loadELF64()

static Error loadELF64 ( StringRef  Filename,
object::OwningBinary< object::ObjectFile > &  ObjFile,
InstrumentationMap::SledContainer Sleds,
InstrumentationMap::FunctionAddressMap FunctionAddresses,
InstrumentationMap::FunctionAddressReverseMap FunctionIds 
)
static

◆ loadYAML()

static Error loadYAML ( int  Fd,
size_t  FileSize,
StringRef  Filename,
InstrumentationMap::SledContainer Sleds,
InstrumentationMap::FunctionAddressMap FunctionAddresses,
InstrumentationMap::FunctionAddressReverseMap FunctionIds 
)
static