class TableManager

Declaration

template <typename TableManagerImplT>
class TableManager { /* full declaration omitted */ };

Description

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.

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h:27

Templates

TableManagerImplT

Member Variables

private DenseMap<llvm::StringRef, llvm::jitlink::Symbol*> Entries

Method Overview

  • public llvm::jitlink::Symbol & getEntryForTarget(llvm::jitlink::LinkGraph & G, llvm::jitlink::Symbol & Target)
  • private TableManagerImplT & impl()

Methods

llvm::jitlink::Symbol& getEntryForTarget(
    llvm::jitlink::LinkGraph& G,
    llvm::jitlink::Symbol& Target)

Description

Return the constructed entry Use parameter G to construct the entry for target symbol

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h:32

Parameters

llvm::jitlink::LinkGraph& G
llvm::jitlink::Symbol& Target

TableManagerImplT& impl()

Declared at: llvm/include/llvm/ExecutionEngine/JITLink/TableManager.h:56