LLVM 17.0.0git
|
A CRTP base for tables that are built on demand, e.g. More...
#include "llvm/ExecutionEngine/JITLink/TableManager.h"
Public Member Functions | |
Symbol & | getEntryForTarget (LinkGraph &G, Symbol &Target) |
Return the constructed entry. | |
A CRTP base for tables that are built on demand, e.g.
Global Offset Tables and Procedure Linkage Tables. The getEntyrForTarget function returns the table entry corresponding to the given target, calling down to the implementation class to build an entry if one does not already exist.
Definition at line 27 of file TableManager.h.
|
inline |
Return the constructed entry.
Use parameter G to construct the entry for target symbol
Definition at line 32 of file TableManager.h.
References assert(), llvm::dbgs(), DEBUG_WITH_TYPE, G, and llvm::Target::getName().
Referenced by llvm::jitlink::aarch64::PLTTableManager::createEntry(), llvm::jitlink::i386::PLTTableManager::createEntry(), llvm::jitlink::loongarch::PLTTableManager::createEntry(), and llvm::jitlink::x86_64::PLTTableManager::createEntry().