LLVM  14.0.0git

Represents an object file section. More...

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

## Public Types

using symbol_iterator = SymbolSet::iterator

using const_symbol_iterator = SymbolSet::const_iterator

using block_iterator = BlockSet::iterator

using const_block_iterator = BlockSet::const_iterator

## Public Member Functions

~Section ()

Section (const Section &)=delete

Sectionoperator= (const Section &)=delete

Section (Section &&)=delete

Sectionoperator= (Section &&)=delete

StringRef getName () const
Returns the name of this section. More...

MemProt getMemProt () const
Returns the protection flags for this section. More...

void setMemProt (MemProt Prot)
Set the protection flags for this section. More...

MemDeallocPolicy getMemDeallocPolicy () const
Get the deallocation policy for this section. More...

void setMemDeallocPolicy (MemDeallocPolicy MDP)
Set the deallocation policy for this section. More...

SectionOrdinal getOrdinal () const
Returns the ordinal for this section. More...

iterator_range< block_iteratorblocks ()
Returns an iterator over the blocks defined in this section. More...

iterator_range< const_block_iteratorblocks () const
Returns an iterator over the blocks defined in this section. More...

BlockSet::size_type blocks_size () const
Returns the number of blocks in this section. More...

iterator_range< symbol_iteratorsymbols ()
Returns an iterator over the symbols defined in this section. More...

iterator_range< const_symbol_iteratorsymbols () const
Returns an iterator over the symbols defined in this section. More...

SymbolSet::size_type symbols_size () const
Return the number of symbols in this section. More...

## Detailed Description

Represents an object file section.

Definition at line 649 of file JITLink.h.

## ◆ block_iterator

Definition at line 663 of file JITLink.h.

## ◆ const_block_iterator

Definition at line 664 of file JITLink.h.

## ◆ const_symbol_iterator

Definition at line 661 of file JITLink.h.

## ◆ symbol_iterator

Definition at line 660 of file JITLink.h.

## ◆ ~Section()

Definition at line 146 of file JITLink.cpp.

References B.

## ◆ Section() [1/2]

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

delete

## ◆ blocks() [1/2]

inline

Returns an iterator over the blocks defined in this section.

Definition at line 693 of file JITLink.h.

## ◆ blocks() [2/2]

inline

Returns an iterator over the blocks defined in this section.

Definition at line 698 of file JITLink.h.

## ◆ blocks_size()

inline

Returns the number of blocks in this section.

Definition at line 703 of file JITLink.h.

## ◆ getMemDeallocPolicy()

inline

Get the deallocation policy for this section.

Definition at line 684 of file JITLink.h.

## ◆ getMemProt()

inline

Returns the protection flags for this section.

Definition at line 678 of file JITLink.h.

## ◆ getName()

inline

Returns the name of this section.

Definition at line 675 of file JITLink.h.

## ◆ getOrdinal()

inline

Returns the ordinal for this section.

Definition at line 690 of file JITLink.h.

## ◆ operator=() [1/2]

 Section& llvm::jitlink::Section::operator= ( const Section & )
delete

## ◆ operator=() [2/2]

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

## ◆ setMemDeallocPolicy()

 void llvm::jitlink::Section::setMemDeallocPolicy ( MemDeallocPolicy MDP )
inline

Set the deallocation policy for this section.

Definition at line 687 of file JITLink.h.

## ◆ setMemProt()

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

Set the protection flags for this section.

Definition at line 681 of file JITLink.h.

## ◆ symbols() [1/2]

inline

Returns an iterator over the symbols defined in this section.

Definition at line 706 of file JITLink.h.

References llvm::make_range().

## ◆ symbols() [2/2]

inline

Returns an iterator over the symbols defined in this section.

Definition at line 711 of file JITLink.h.

References llvm::make_range().

## ◆ symbols_size()

inline

Return the number of symbols in this section.

Definition at line 716 of file JITLink.h.