class ELFLinkGraphBuilder_x86_64
Declaration
class ELFLinkGraphBuilder_x86_64 : public ELFLinkGraphBuilder { /* full declaration omitted */ };
Description
Ling-graph building code that's specific to the given ELFT, but common across all architectures.
Declared at: llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp:105
Inherits from: ELFLinkGraphBuilder
Method Overview
- public ELFLinkGraphBuilder_x86_64(llvm::StringRef FileName, const object::ELFFile<object::ELF64LE> & Obj)
- private llvm::Error addRelocations()
- private llvm::Error addSingleRelocation(const typename ELFT::Rela & Rel, const typename ELFT::Shdr & FixupSection, llvm::jitlink::Block & BlockToFix)
- private static Expected<ELF_x86_64_Edges::ELFX86RelocationKind> getRelocationKind(const uint32_t Type)
Methods
¶ELFLinkGraphBuilder_x86_64(
llvm::StringRef FileName,
const object::ELFFile<object::ELF64LE>& Obj)
ELFLinkGraphBuilder_x86_64(
llvm::StringRef FileName,
const object::ELFFile<object::ELF64LE>& Obj)
Declared at: llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp:255
Parameters
- llvm::StringRef FileName
- const object::ELFFile<object::ELF64LE>& Obj
¶llvm::Error addRelocations()
llvm::Error addRelocations()
Description
Call to derived class to handle relocations. These require architecture specific knowledge to map to JITLink edge kinds.
Declared at: llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp:143
¶llvm::Error addSingleRelocation(
const typename ELFT::Rela& Rel,
const typename ELFT::Shdr& FixupSection,
llvm::jitlink::Block& BlockToFix)
llvm::Error addSingleRelocation(
const typename ELFT::Rela& Rel,
const typename ELFT::Shdr& FixupSection,
llvm::jitlink::Block& BlockToFix)
Declared at: llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp:163
Parameters
- const typename ELFT::Rela& Rel
- const typename ELFT::Shdr& FixupSection
- llvm::jitlink::Block& BlockToFix
¶static Expected<
ELF_x86_64_Edges::ELFX86RelocationKind>
getRelocationKind(const uint32_t Type)
static Expected<
ELF_x86_64_Edges::ELFX86RelocationKind>
getRelocationKind(const uint32_t Type)
Declared at: llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp:110
Parameters
- const uint32_t Type