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

#include "ObjCopy/MachO/MachOObject.h"

Collaboration diagram for llvm::objcopy::macho::LoadCommand:
Collaboration graph
[legend]

Public Member Functions

Optional< StringRefgetSegmentName () const
 
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 84 of file MachOObject.h.

Member Function Documentation

◆ getSegmentName()

Optional< StringRef > LoadCommand::getSegmentName ( ) const

Definition at line 192 of file MachOObject.cpp.

References extractSegmentName(), MachOLoadCommand, and llvm::None.

Referenced by addSection(), and processLoadCommands().

◆ getSegmentVMAddr()

Optional< uint64_t > LoadCommand::getSegmentVMAddr ( ) const

Definition at line 204 of file MachOObject.cpp.

References MachOLoadCommand, and llvm::None.

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: