LLVM 19.0.0git
Namespaces | Functions
RelocationResolver.cpp File Reference
#include "llvm/Object/RelocationResolver.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/BinaryFormat/Wasm.h"
#include "llvm/Object/ELFObjectFile.h"
#include "llvm/Object/ELFTypes.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Object/SymbolicFile.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::object
 

Functions

static int64_t llvm::object::getELFAddend (RelocationRef R)
 
static bool llvm::object::supportsX86_64 (uint64_t Type)
 
static uint64_t llvm::object::resolveX86_64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend)
 
static bool llvm::object::supportsAArch64 (uint64_t Type)
 
static uint64_t llvm::object::resolveAArch64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsBPF (uint64_t Type)
 
static uint64_t llvm::object::resolveBPF (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static bool llvm::object::supportsMips64 (uint64_t Type)
 
static uint64_t llvm::object::resolveMips64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsMSP430 (uint64_t Type)
 
static uint64_t llvm::object::resolveMSP430 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsPPC64 (uint64_t Type)
 
static uint64_t llvm::object::resolvePPC64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsSystemZ (uint64_t Type)
 
static uint64_t llvm::object::resolveSystemZ (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsSparc64 (uint64_t Type)
 
static uint64_t llvm::object::resolveSparc64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::isAMDGPU (const ObjectFile &Obj)
 Returns true if Obj is an AMDGPU code object based solely on the value of e_machine.
 
static bool llvm::object::supportsAmdgpu (uint64_t Type)
 
static uint64_t llvm::object::resolveAmdgpu (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsX86 (uint64_t Type)
 
static uint64_t llvm::object::resolveX86 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static bool llvm::object::supportsPPC32 (uint64_t Type)
 
static uint64_t llvm::object::resolvePPC32 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsARM (uint64_t Type)
 
static uint64_t llvm::object::resolveARM (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend)
 
static bool llvm::object::supportsAVR (uint64_t Type)
 
static uint64_t llvm::object::resolveAVR (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsLanai (uint64_t Type)
 
static uint64_t llvm::object::resolveLanai (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsMips32 (uint64_t Type)
 
static uint64_t llvm::object::resolveMips32 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static bool llvm::object::supportsSparc32 (uint64_t Type)
 
static uint64_t llvm::object::resolveSparc32 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend)
 
static bool llvm::object::supportsHexagon (uint64_t Type)
 
static uint64_t llvm::object::resolveHexagon (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t, int64_t Addend)
 
static bool llvm::object::supportsRISCV (uint64_t Type)
 
static uint64_t llvm::object::resolveRISCV (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend)
 
static bool llvm::object::supportsCSKY (uint64_t Type)
 
static uint64_t llvm::object::resolveCSKY (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend)
 
static bool llvm::object::supportsLoongArch (uint64_t Type)
 
static uint64_t llvm::object::resolveLoongArch (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend)
 
static bool llvm::object::supportsCOFFX86 (uint64_t Type)
 
static uint64_t llvm::object::resolveCOFFX86 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static bool llvm::object::supportsCOFFX86_64 (uint64_t Type)
 
static uint64_t llvm::object::resolveCOFFX86_64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static bool llvm::object::supportsCOFFARM (uint64_t Type)
 
static uint64_t llvm::object::resolveCOFFARM (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static bool llvm::object::supportsCOFFARM64 (uint64_t Type)
 
static uint64_t llvm::object::resolveCOFFARM64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static bool llvm::object::supportsMachOX86_64 (uint64_t Type)
 
static uint64_t llvm::object::resolveMachOX86_64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static bool llvm::object::supportsWasm32 (uint64_t Type)
 
static bool llvm::object::supportsWasm64 (uint64_t Type)
 
static uint64_t llvm::object::resolveWasm32 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t)
 
static uint64_t llvm::object::resolveWasm64 (uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend)
 
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)