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

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

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

Public Member Functions

 Segment (MachOBuilder &Builder, StringRef SegName)
 
SectionaddSection (StringRef SecName, StringRef SegName)
 
size_t write (MutableArrayRef< char > Buf, size_t Offset, bool SwapStruct) override
 
- Public Member Functions inherited from llvm::orc::MachOBuilderLoadCommand< MachOTraits::SegmentCmd >
 MachOBuilderLoadCommand ()=default
 
 MachOBuilderLoadCommand (ArgTs &&...Args)
 

Public Attributes

MachOBuilderBuilder
 
std::vector< std::unique_ptr< Section > > Sections
 

Detailed Description

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

Definition at line 268 of file MachOBuilder.h.

Constructor & Destructor Documentation

◆ Segment()

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

Member Function Documentation

◆ addSection()

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

◆ write()

template<typename MachOTraits >
size_t llvm::orc::MachOBuilder< MachOTraits >::Segment::write ( MutableArrayRef< char Buf,
size_t  Offset,
bool  SwapStruct 
)
inlineoverride

Member Data Documentation

◆ Builder

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

◆ Sections

template<typename MachOTraits >
std::vector<std::unique_ptr<Section> > llvm::orc::MachOBuilder< MachOTraits >::Segment::Sections

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