LLVM 20.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.
 
template<typename SymbolPtrCollection >
void addSymbols (SymbolPtrCollection &&Symbols)
 Add all symbols in a given range to the SymbolAddressMap.
 
const SymbolVectorgetSymbolsAt (orc::ExecutorAddr Addr) const
 Returns the list of symbols that start at the given address, or nullptr if no such symbols exist.
 

Detailed Description

A map of addresses to Symbols.

Definition at line 1793 of file JITLink.h.

Member Typedef Documentation

◆ SymbolVector

Definition at line 1795 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 1798 of file JITLink.h.

References llvm::jitlink::Symbol::getAddress(), and Sym.

◆ 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 1804 of file JITLink.h.

References addSymbol(), and Sym.

◆ 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 1811 of file JITLink.h.

References Addr, and I.


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