LLVM: llvm::jitlink::Section Class Reference (original) (raw)

Represents an object file section. More...

#include "[llvm/ExecutionEngine/JITLink/JITLink.h](JITLink%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI ~Section ()
Section (const Section &)=delete
Section & operator= (const Section &)=delete
Section (Section &&)=delete
Section & operator= (Section &&)=delete
StringRef getName () const
Returns the name of this section.
orc::MemProt getMemProt () const
Returns the protection flags for this section.
void setMemProt (orc::MemProt Prot)
Set the protection flags for this section.
orc::MemLifetime getMemLifetime () const
Get the memory lifetime policy for this section.
void setMemLifetime (orc::MemLifetime ML)
Set the memory lifetime policy for this section.
SectionOrdinal getOrdinal () const
Returns the ordinal for this section.
void setOrdinal (SectionOrdinal SecOrdinal)
Set the ordinal for this section.
bool empty () const
Returns true if this section is empty (contains no blocks or symbols).
iterator_range< block_iterator > blocks ()
Returns an iterator over the blocks defined in this section.
iterator_range< const_block_iterator > blocks () const
Returns an iterator over the blocks defined in this section.
BlockSet::size_type blocks_size () const
Returns the number of blocks in this section.
iterator_range< symbol_iterator > symbols ()
Returns an iterator over the symbols defined in this section.
iterator_range< const_symbol_iterator > symbols () const
Returns an iterator over the symbols defined in this section.
SymbolSet::size_type symbols_size () const
Return the number of symbols in this section.

Represents an object file section.

Definition at line 718 of file JITLink.h.

block_iterator

const_block_iterator

const_symbol_iterator

symbol_iterator

llvm::jitlink::Section::~Section ( )

Section() [1/2]

Section() [2/2]

llvm::jitlink::Section::Section ( Section && ) delete

blocks() [1/2]

blocks() [2/2]

blocks_size()

empty()

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

getMemLifetime()

Get the memory lifetime policy for this section.

Definition at line 753 of file JITLink.h.

getMemProt()

orc::MemProt llvm::jitlink::Section::getMemProt ( ) const inline

getName()

StringRef llvm::jitlink::Section::getName ( ) const inline

getOrdinal()

operator=() [1/2]

operator=() [2/2]

setMemLifetime()

setMemProt()

void llvm::jitlink::Section::setMemProt ( orc::MemProt Prot) inline

Set the protection flags for this section.

Definition at line 750 of file JITLink.h.

setOrdinal()

void llvm::jitlink::Section::setOrdinal ( SectionOrdinal SecOrdinal) inline

symbols() [1/2]

symbols() [2/2]

symbols_size()

LinkGraph


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