LLVM 22.0.0git
|
Represents a symbol that has been evaluated to an address already. More...
#include "llvm/ExecutionEngine/JITSymbol.h"
Public Member Functions | |
JITEvaluatedSymbol ()=default | |
JITEvaluatedSymbol (std::nullptr_t) | |
Create a 'null' symbol. | |
JITEvaluatedSymbol (JITTargetAddress Address, JITSymbolFlags Flags) | |
Create a symbol for the given address and flags. | |
operator bool () const | |
An evaluated symbol converts to 'true' if its address is non-zero. | |
JITTargetAddress | getAddress () const |
Return the address of this symbol. | |
JITSymbolFlags | getFlags () const |
Return the flags for this symbol. | |
void | setFlags (JITSymbolFlags Flags) |
Set the flags for this symbol. |
Static Public Member Functions | |
template<typename T> | |
static JITEvaluatedSymbol | fromPointer (T *P, JITSymbolFlags Flags=JITSymbolFlags::Exported) |
Create a symbol from the given pointer with the given flags. |
Represents a symbol that has been evaluated to an address already.
Definition at line 231 of file JITSymbol.h.
|
default |
Referenced by fromPointer().
|
inline |
Create a 'null' symbol.
Definition at line 236 of file JITSymbol.h.
|
inline |
Create a symbol for the given address and flags.
Definition at line 239 of file JITSymbol.h.
|
inlinestatic |
Create a symbol from the given pointer with the given flags.
Definition at line 245 of file JITSymbol.h.
References llvm::JITSymbolFlags::Exported, JITEvaluatedSymbol(), P, llvm::pointerToJITTargetAddress(), and T.
|
inline |
Return the address of this symbol.
Definition at line 253 of file JITSymbol.h.
|
inline |
Return the flags for this symbol.
Definition at line 256 of file JITSymbol.h.
|
inlineexplicit |
An evaluated symbol converts to 'true' if its address is non-zero.
Definition at line 250 of file JITSymbol.h.
|
inline |
Set the flags for this symbol.
Definition at line 259 of file JITSymbol.h.