LLVM  14.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 (JITTargetAddress 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 1487 of file JITLink.h.

Member Typedef Documentation

◆ SymbolVector

Definition at line 1489 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 1492 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 1498 of file JITLink.h.

References addSymbol().

◆ getSymbolsAt()

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

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

Definition at line 1505 of file JITLink.h.

References Addr, and I.


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