LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::objcopy::macho::LoadCommand Struct Reference

#include "ObjCopy/MachO/MachOObject.h"

Public Member Functions

std::optional< StringRefgetSegmentName () const
 
std::optional< uint64_tgetSegmentVMAddr () const
 

Public Attributes

MachO::macho_load_command MachOLoadCommand
 
std::vector< uint8_t > Payload
 
std::vector< std::unique_ptr< Section > > Sections
 

Detailed Description

Definition at line 78 of file MachOObject.h.

Member Function Documentation

◆ getSegmentName()

std::optional< StringRef > LoadCommand::getSegmentName ( ) const

Definition at line 205 of file MachOObject.cpp.

References extractSegmentName(), and MachOLoadCommand.

Referenced by addSection(), and processLoadCommands().

◆ getSegmentVMAddr()

std::optional< uint64_t > LoadCommand::getSegmentVMAddr ( ) const

Definition at line 217 of file MachOObject.cpp.

References MachOLoadCommand.

Referenced by addSection().

Member Data Documentation

◆ MachOLoadCommand

MachO::macho_load_command llvm::objcopy::macho::LoadCommand::MachOLoadCommand

◆ Payload

std::vector<uint8_t> llvm::objcopy::macho::LoadCommand::Payload

◆ Sections

std::vector<std::unique_ptr<Section> > llvm::objcopy::macho::LoadCommand::Sections

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