LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for llvm::jitlink::x86_64::PLTTableManager:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

static StringRef getSectionName ()
 

Public Attributes

GOTTableManagerGOT
 
SectionPLTSection = nullptr
 

Detailed Description

Procedure Linkage Table Builder.

Definition at line 579 of file x86_64.h.

Constructor & Destructor Documentation

◆ PLTTableManager()

llvm::jitlink::x86_64::PLTTableManager::PLTTableManager ( GOTTableManager GOT)
inline

Definition at line 581 of file x86_64.h.

Member Function Documentation

◆ createEntry()

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

◆ getSectionName()

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

Definition at line 583 of file x86_64.h.

Referenced by getStubsSection().

◆ getStubsSection()

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

Definition at line 608 of file x86_64.h.

References llvm::jitlink::Exec, G, getSectionName(), PLTSection, and llvm::jitlink::Read.

Referenced by createEntry().

◆ visitEdge()

bool llvm::jitlink::x86_64::PLTTableManager::visitEdge ( LinkGraph G,
Block B,
Edge E 
)
inline

Member Data Documentation

◆ GOT

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

Definition at line 615 of file x86_64.h.

Referenced by createEntry().

◆ PLTSection

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

Definition at line 616 of file x86_64.h.

Referenced by getStubsSection().


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