LLVM 22.0.0git
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 1801 of file JITLink.h.

Member Typedef Documentation

◆ SymbolVector

Member Function Documentation

◆ addSymbol()

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

Add a symbol to the SymbolAddressMap.

Definition at line 1806 of file JITLink.h.

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

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

References I.


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