LLVM 20.0.0git
Typedefs | Functions
InstrumentationMap.cpp File Reference
#include "llvm/XRay/InstrumentationMap.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/ELFObjectFile.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Object/RelocationResolver.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/TargetParser/Triple.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <system_error>
#include <vector>

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 (sys::fs::file_t Fd, size_t FileSize, StringRef Filename, InstrumentationMap::SledContainer &Sleds, InstrumentationMap::FunctionAddressMap &FunctionAddresses, InstrumentationMap::FunctionAddressReverseMap &FunctionIds)
 

Typedef Documentation

◆ RelocMap

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 ( sys::fs::file_t  Fd,
size_t  FileSize,
StringRef  Filename,
InstrumentationMap::SledContainer Sleds,
InstrumentationMap::FunctionAddressMap FunctionAddresses,
InstrumentationMap::FunctionAddressReverseMap FunctionIds 
)
static