LLVM 22.0.0git
llvm::jitlink::x86_64::PLTTableManager Class Reference

Procedure Linkage Table Builder. More...

#include "llvm/ExecutionEngine/JITLink/x86_64.h"

Inheritance diagram for llvm::jitlink::x86_64::PLTTableManager:
[legend]

Public Member Functions

 PLTTableManager (LinkGraph &G, GOTTableManager &GOT)
bool visitEdge (LinkGraph &G, Block *B, Edge &E)
SymbolcreateEntry (LinkGraph &G, Symbol &Target)
SectiongetStubsSection (LinkGraph &G)
LLVM_ABI void registerExistingEntries ()

Static Public Member Functions

static StringRef getSectionName ()

Public Attributes

GOTTableManagerGOT
SectionStubsSection = nullptr

Detailed Description

Procedure Linkage Table Builder.

Definition at line 736 of file x86_64.h.

Constructor & Destructor Documentation

◆ PLTTableManager()

llvm::jitlink::x86_64::PLTTableManager::PLTTableManager ( LinkGraph & G,
GOTTableManager & GOT )
inline

Definition at line 740 of file x86_64.h.

References G, getSectionName(), GOT, registerExistingEntries(), and StubsSection.

Member Function Documentation

◆ createEntry()

Symbol & llvm::jitlink::x86_64::PLTTableManager::createEntry ( LinkGraph & G,
Symbol & Target )
inline

◆ getSectionName()

StringRef llvm::jitlink::x86_64::PLTTableManager::getSectionName ( )
inlinestatic

Definition at line 738 of file x86_64.h.

Referenced by getStubsSection(), and PLTTableManager().

◆ getStubsSection()

Section & llvm::jitlink::x86_64::PLTTableManager::getStubsSection ( LinkGraph & G)
inline

Definition at line 767 of file x86_64.h.

References llvm::orc::Exec, G, getSectionName(), llvm::orc::Read, and StubsSection.

Referenced by createEntry().

◆ registerExistingEntries()

void llvm::jitlink::x86_64::PLTTableManager::registerExistingEntries ( )

◆ visitEdge()

Member Data Documentation

◆ GOT

GOTTableManager& llvm::jitlink::x86_64::PLTTableManager::GOT

Definition at line 776 of file x86_64.h.

Referenced by createEntry(), and PLTTableManager().

◆ StubsSection

Section* llvm::jitlink::x86_64::PLTTableManager::StubsSection = nullptr

Definition at line 777 of file x86_64.h.

Referenced by getStubsSection(), PLTTableManager(), and registerExistingEntries().


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