LLVM  8.0.1
Typedefs | Functions
InstrumentationMap.cpp File Reference
#include "llvm/XRay/InstrumentationMap.h"
#include "llvm/ADT/DenseMap.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/ELFObjectFile.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.

Typedefs

using RelocMap = DenseMap< uint64_t, uint64_t >
 

Functions

static Error loadObj (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)
 

Typedef Documentation

◆ RelocMap

using RelocMap = DenseMap<uint64_t, uint64_t>

Definition at line 51 of file InstrumentationMap.cpp.

Function Documentation

◆ loadObj()

static Error loadObj ( 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