LLVM  13.0.0git
Namespaces | Typedefs | Functions
RelocationResolver.h File Reference
#include "llvm/ADT/Triple.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Object/COFF.h"
#include "llvm/Object/ELFObjectFile.h"
#include "llvm/Object/MachO.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Object/Wasm.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include <cstdint>
#include <system_error>
Include dependency graph for RelocationResolver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 
 llvm::object
 

Typedefs

using llvm::object::SupportsRelocation = bool(*)(uint64_t)
 
using llvm::object::RelocationResolver = uint64_t(*)(uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend)
 

Functions

std::pair< SupportsRelocation, RelocationResolver > llvm::object::getRelocationResolver (const ObjectFile &Obj)
 
uint64_t llvm::object::resolveRelocation (RelocationResolver Resolver, const RelocationRef &R, uint64_t S, uint64_t LocData)