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 816 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 838 of file JITLink.h.

References assert().

◆ getEnd()

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

Definition at line 845 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 830 of file JITLink.h.

References assert().

◆ getLastBlock()

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

Definition at line 834 of file JITLink.h.

References assert().

◆ getRange()

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

Definition at line 850 of file JITLink.h.

References getEnd(), and getStart().

◆ getSize()

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

Definition at line 848 of file JITLink.h.

References getEnd(), and getStart().

◆ getStart()

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

Definition at line 842 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: