LLVM 23.0.0git
llvm::jitlink::GetImageBaseSymbol Class Reference

GetImageBaseSymbol is a function object that finds the __ImageBase symbol in the given graph if one is present. More...

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

Public Member Functions

 GetImageBaseSymbol (StringRef ImageBaseName="__ImageBase")
Symboloperator() (LinkGraph &G)
void reset (std::optional< Symbol * > CacheValue=std::nullopt)

Detailed Description

GetImageBaseSymbol is a function object that finds the __ImageBase symbol in the given graph if one is present.

The result is cached across calls, and can be reset by calling the reset method.

Definition at line 42 of file COFF.h.

Constructor & Destructor Documentation

◆ GetImageBaseSymbol()

llvm::jitlink::GetImageBaseSymbol::GetImageBaseSymbol ( StringRef ImageBaseName = "__ImageBase")
inline

Definition at line 44 of file COFF.h.

Member Function Documentation

◆ operator()()

Symbol * llvm::jitlink::GetImageBaseSymbol::operator() ( LinkGraph & G)

Definition at line 134 of file COFF.cpp.

References G.

◆ reset()

void llvm::jitlink::GetImageBaseSymbol::reset ( std::optional< Symbol * > CacheValue = std::nullopt)
inline

Definition at line 47 of file COFF.h.


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