LLVM  15.0.0git
Public Types | Public Member Functions | List of all members
llvm::jitlink::SymbolAddressMap Class Reference

A map of addresses to Symbols. More...

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

Public Types

using SymbolVector = SmallVector< Symbol *, 1 >
 

Public Member Functions

void addSymbol (Symbol &Sym)
 Add a symbol to the SymbolAddressMap. More...
 
template<typename SymbolPtrCollection >
void addSymbols (SymbolPtrCollection &&Symbols)
 Add all symbols in a given range to the SymbolAddressMap. More...
 
const SymbolVectorgetSymbolsAt (orc::ExecutorAddr Addr) const
 Returns the list of symbols that start at the given address, or nullptr if no such symbols exist. More...
 

Detailed Description

A map of addresses to Symbols.

Definition at line 1547 of file JITLink.h.

Member Typedef Documentation

◆ SymbolVector

Definition at line 1549 of file JITLink.h.

Member Function Documentation

◆ addSymbol()

void llvm::jitlink::SymbolAddressMap::addSymbol ( Symbol Sym)
inline

Add a symbol to the SymbolAddressMap.

Definition at line 1552 of file JITLink.h.

References llvm::jitlink::Symbol::getAddress().

Referenced by addSymbols().

◆ addSymbols()

template<typename SymbolPtrCollection >
void llvm::jitlink::SymbolAddressMap::addSymbols ( SymbolPtrCollection &&  Symbols)
inline

Add all symbols in a given range to the SymbolAddressMap.

Definition at line 1558 of file JITLink.h.

References addSymbol().

◆ getSymbolsAt()

const SymbolVector* llvm::jitlink::SymbolAddressMap::getSymbolsAt ( orc::ExecutorAddr  Addr) const
inline

Returns the list of symbols that start at the given address, or nullptr if no such symbols exist.

Definition at line 1565 of file JITLink.h.

References Addr, and I.


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