LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::orc::MachOBuilder< MachOTraits >::Section Struct Reference

#include "llvm/ExecutionEngine/Orc/MachOBuilder.h"

Inheritance diagram for llvm::orc::MachOBuilder< MachOTraits >::Section:
Inheritance graph
[legend]

Public Member Functions

 Section (MachOBuilder &Builder, StringRef SecName, StringRef SegName)
 
RelocTarget addSymbol (int32_t Offset, StringRef Name, uint8_t Type, uint16_t Desc)
 
void addReloc (int32_t Offset, RelocTarget Target, bool PCRel, unsigned Length, unsigned Type)
 
auto & rawStruct ()
 
- Public Member Functions inherited from llvm::orc::MachOBuilder< MachOTraits >::RelocTarget
 RelocTarget (const Section &S)
 
 RelocTarget (SymbolContainer &SC, size_t Idx)
 
bool isSymbol ()
 
uint32_t getSymbolNum ()
 
uint32_t getSectionId ()
 
MachOTraits::NList & nlist ()
 

Public Attributes

MachOBuilderBuilder
 
SectionContent Content
 
size_t SectionNumber = 0
 
SymbolContainer SC
 
std::vector< RelocRelocs
 

Detailed Description

template<typename MachOTraits>
struct llvm::orc::MachOBuilder< MachOTraits >::Section

Definition at line 229 of file MachOBuilder.h.

Constructor & Destructor Documentation

◆ Section()

template<typename MachOTraits >
llvm::orc::MachOBuilder< MachOTraits >::Section::Section ( MachOBuilder Builder,
StringRef  SecName,
StringRef  SegName 
)
inline

Member Function Documentation

◆ addReloc()

template<typename MachOTraits >
void llvm::orc::MachOBuilder< MachOTraits >::Section::addReloc ( int32_t  Offset,
RelocTarget  Target,
bool  PCRel,
unsigned  Length,
unsigned  Type 
)
inline

◆ addSymbol()

template<typename MachOTraits >
RelocTarget llvm::orc::MachOBuilder< MachOTraits >::Section::addSymbol ( int32_t  Offset,
StringRef  Name,
uint8_t  Type,
uint16_t  Desc 
)
inline

◆ rawStruct()

template<typename MachOTraits >
auto & llvm::orc::MachOBuilder< MachOTraits >::Section::rawStruct ( )
inline

Member Data Documentation

◆ Builder

template<typename MachOTraits >
MachOBuilder& llvm::orc::MachOBuilder< MachOTraits >::Section::Builder

◆ Content

template<typename MachOTraits >
SectionContent llvm::orc::MachOBuilder< MachOTraits >::Section::Content

Definition at line 231 of file MachOBuilder.h.

◆ Relocs

template<typename MachOTraits >
std::vector<Reloc> llvm::orc::MachOBuilder< MachOTraits >::Section::Relocs

◆ SC

template<typename MachOTraits >
SymbolContainer llvm::orc::MachOBuilder< MachOTraits >::Section::SC

◆ SectionNumber

template<typename MachOTraits >
size_t llvm::orc::MachOBuilder< MachOTraits >::Section::SectionNumber = 0

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