LLVM  15.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 776 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 798 of file JITLink.h.

References assert().

◆ getEnd()

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

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

References assert().

◆ getLastBlock()

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

Definition at line 794 of file JITLink.h.

References assert().

◆ getRange()

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

Definition at line 810 of file JITLink.h.

References getEnd(), and getStart().

◆ getSize()

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

Definition at line 808 of file JITLink.h.

References getEnd(), and getStart().

◆ getStart()

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

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