LLVM 20.0.0git
Public Member Functions | List of all members
llvm::jitlink::SectionRange Class Reference

Represents a section address range via a pair of Block pointers to the first and last Blocks in the section. More...

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

Public Member Functions

 SectionRange ()=default
 
 SectionRange (const Section &Sec)
 
BlockgetFirstBlock () const
 
BlockgetLastBlock () const
 
bool empty () const
 
orc::ExecutorAddr getStart () const
 
orc::ExecutorAddr getEnd () const
 
orc::ExecutorAddrDiff getSize () const
 
orc::ExecutorAddrRange getRange () const
 

Detailed Description

Represents a section address range via a pair of Block pointers to the first and last Blocks in the section.

Definition at line 806 of file JITLink.h.

Constructor & Destructor Documentation

◆ SectionRange() [1/2]

llvm::jitlink::SectionRange::SectionRange ( )
default

◆ SectionRange() [2/2]

llvm::jitlink::SectionRange::SectionRange ( const Section Sec)
inline

Member Function Documentation

◆ empty()

bool llvm::jitlink::SectionRange::empty ( ) const
inline

Definition at line 828 of file JITLink.h.

References assert().

◆ getEnd()

orc::ExecutorAddr llvm::jitlink::SectionRange::getEnd ( ) const
inline

Definition at line 835 of file JITLink.h.

References llvm::jitlink::Addressable::getAddress(), and llvm::jitlink::Block::getSize().

Referenced by getRange(), and getSize().

◆ getFirstBlock()

Block * llvm::jitlink::SectionRange::getFirstBlock ( ) const
inline

Definition at line 820 of file JITLink.h.

References assert().

◆ getLastBlock()

Block * llvm::jitlink::SectionRange::getLastBlock ( ) const
inline

Definition at line 824 of file JITLink.h.

References assert().

◆ getRange()

orc::ExecutorAddrRange llvm::jitlink::SectionRange::getRange ( ) const
inline

Definition at line 840 of file JITLink.h.

References getEnd(), and getStart().

◆ getSize()

orc::ExecutorAddrDiff llvm::jitlink::SectionRange::getSize ( ) const
inline

Definition at line 838 of file JITLink.h.

References getEnd(), and getStart().

◆ getStart()

orc::ExecutorAddr llvm::jitlink::SectionRange::getStart ( ) const
inline

Definition at line 832 of file JITLink.h.

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

Referenced by getRange(), and getSize().


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