LLVM  8.0.1
Public Member Functions | List of all members
llvm::JITEvaluatedSymbol Class Reference

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. More...
 
 JITEvaluatedSymbol (JITTargetAddress Address, JITSymbolFlags Flags)
 Create a symbol for the given address and flags. More...
 
 operator bool () const
 An evaluated symbol converts to 'true' if its address is non-zero. More...
 
JITTargetAddress getAddress () const
 Return the address of this symbol. More...
 
JITSymbolFlags getFlags () const
 Return the flags for this symbol. More...
 
void setFlags (JITSymbolFlags Flags)
 Set the flags for this symbol. More...
 

Detailed Description

Represents a symbol that has been evaluated to an address already.

Definition at line 209 of file JITSymbol.h.

Constructor & Destructor Documentation

◆ JITEvaluatedSymbol() [1/3]

llvm::JITEvaluatedSymbol::JITEvaluatedSymbol ( )
default

◆ JITEvaluatedSymbol() [2/3]

llvm::JITEvaluatedSymbol::JITEvaluatedSymbol ( std::nullptr_t  )
inline

Create a 'null' symbol.

Definition at line 214 of file JITSymbol.h.

◆ JITEvaluatedSymbol() [3/3]

llvm::JITEvaluatedSymbol::JITEvaluatedSymbol ( JITTargetAddress  Address,
JITSymbolFlags  Flags 
)
inline

Create a symbol for the given address and flags.

Definition at line 217 of file JITSymbol.h.

Member Function Documentation

◆ getAddress()

JITTargetAddress llvm::JITEvaluatedSymbol::getAddress ( ) const
inline

Return the address of this symbol.

Definition at line 224 of file JITSymbol.h.

References llvm::Address.

Referenced by llvm::orc::operator<<().

◆ getFlags()

JITSymbolFlags llvm::JITEvaluatedSymbol::getFlags ( ) const
inline

Return the flags for this symbol.

Definition at line 227 of file JITSymbol.h.

Referenced by llvm::orc::operator<<().

◆ operator bool()

llvm::JITEvaluatedSymbol::operator bool ( ) const
inlineexplicit

An evaluated symbol converts to 'true' if its address is non-zero.

Definition at line 221 of file JITSymbol.h.

References llvm::Address.

◆ setFlags()

void llvm::JITEvaluatedSymbol::setFlags ( JITSymbolFlags  Flags)
inline

Set the flags for this symbol.

Definition at line 230 of file JITSymbol.h.

References llvm::Address.


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