LLVM: llvm::jitlink::ELFLinkGraphBuilder_x86 Class Reference (original) (raw)

Inheritance diagram for llvm::jitlink::ELFLinkGraphBuilder_x86:

Public Member Functions
ELFLinkGraphBuilder_x86 (StringRef FileName, const object::ELFFile< ELFT > &Obj, std::shared_ptr< orc::SymbolStringPool > SSP, Triple TT, SubtargetFeatures Features)
Public Member Functions inherited from llvm::jitlink::ELFLinkGraphBuilder< object::ELF32LE >
Error forEachRelaRelocation (const typename object::ELF32LE::Shdr &RelSect, RelocHandlerFunction &&Func)
Error forEachRelRelocation (const typename object::ELF32LE::Shdr &RelSect, RelocHandlerFunction &&Func)
ELFLinkGraphBuilder (const object::ELFFile< object::ELF32LE > &Obj, std::shared_ptr< orc::SymbolStringPool > SSP, Triple TT, SubtargetFeatures Features, StringRef FileName, LinkGraph::GetEdgeKindNameFunction GetEdgeKindName)
ELFLinkGraphBuilder & setProcessDebugSections (bool ProcessDebugSections)
Debug sections are included in the graph by default.
Expected< std::unique_ptr< LinkGraph > > buildGraph ()
Attempt to construct and return the LinkGraph.
Public Member Functions inherited from llvm::jitlink::ELFLinkGraphBuilderBase
ELFLinkGraphBuilderBase (std::unique_ptr< LinkGraph > G)
virtual ~ELFLinkGraphBuilderBase ()
Additional Inherited Members
Protected Types inherited from llvm::jitlink::ELFLinkGraphBuilder< object::ELF32LE >
using ELFSectionIndex
using ELFSymbolIndex
Protected Member Functions inherited from llvm::jitlink::ELFLinkGraphBuilder< object::ELF32LE >
bool isRelocatable () const
void setGraphBlock (ELFSectionIndex SecIndex, Block *B)
Block * getGraphBlock (ELFSectionIndex SecIndex)
void setGraphSymbol (ELFSymbolIndex SymIndex, Symbol &Sym)
Symbol * getGraphSymbol (ELFSymbolIndex SymIndex)
Expected< std::pair< Linkage, Scope > > getSymbolLinkageAndScope (const typename object::ELF32LE::Sym &Sym, StringRef Name)
virtual TargetFlagsType makeTargetFlags (const typename object::ELF32LE::Sym &Sym)
Set the target flags on the given Symbol.
virtual orc::ExecutorAddrDiff getRawOffset (const typename object::ELF32LE::Sym &Sym, TargetFlagsType Flags)
Get the physical offset of the symbol on the target platform.
Error prepare ()
Error graphifySections ()
Error graphifySymbols ()
virtual bool excludeSection (const typename object::ELF32LE::Shdr &Sect) const
Override in derived classes to suppress certain sections in the link graph.
Protected Member Functions inherited from llvm::jitlink::ELFLinkGraphBuilderBase
Section & getCommonSection ()
Static Protected Member Functions inherited from llvm::jitlink::ELFLinkGraphBuilderBase
static bool isDwarfSection (StringRef SectionName)
Protected Attributes inherited from llvm::jitlink::ELFLinkGraphBuilder< object::ELF32LE >
const ELFFile & Obj
ELFFile::Elf_Shdr_Range Sections
const ELFFile::Elf_Shdr * SymTabSec
StringRef SectionStringTab
bool ProcessDebugSections
DenseMap< ELFSectionIndex, Block * > GraphBlocks
DenseMap< ELFSymbolIndex, Symbol * > GraphSymbols
DenseMap< const typename ELFFile::Elf_Shdr *, ArrayRef< typename ELFFile::Elf_Word > > ShndxTables
Protected Attributes inherited from llvm::jitlink::ELFLinkGraphBuilderBase
std::unique_ptr< LinkGraph > G

Detailed Description

Constructor & Destructor Documentation


The documentation for this class was generated from the following file: