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

#include "llvm/ObjCopy/ConfigManager.h"

Inheritance diagram for llvm::objcopy::ConfigManager:
Inheritance graph
[legend]
Collaboration diagram for llvm::objcopy::ConfigManager:
Collaboration graph
[legend]

Public Member Functions

virtual ~ConfigManager ()
 
const CommonConfiggetCommonConfig () const override
 
Expected< const ELFConfig & > getELFConfig () const override
 
Expected< const COFFConfig & > getCOFFConfig () const override
 
Expected< const MachOConfig & > getMachOConfig () const override
 
Expected< const WasmConfig & > getWasmConfig () const override
 
Expected< const XCOFFConfig & > getXCOFFConfig () const override
 
- Public Member Functions inherited from llvm::objcopy::MultiFormatConfig
virtual ~MultiFormatConfig ()
 

Public Attributes

CommonConfig Common
 
ELFConfig ELF
 
COFFConfig COFF
 
MachOConfig MachO
 
WasmConfig Wasm
 
XCOFFConfig XCOFF
 

Detailed Description

Definition at line 23 of file ConfigManager.h.

Constructor & Destructor Documentation

◆ ~ConfigManager()

virtual llvm::objcopy::ConfigManager::~ConfigManager ( )
inlinevirtual

Definition at line 24 of file ConfigManager.h.

Member Function Documentation

◆ getCOFFConfig()

Expected< const COFFConfig & > llvm::objcopy::ConfigManager::getCOFFConfig ( ) const
overridevirtual

◆ getCommonConfig()

const CommonConfig& llvm::objcopy::ConfigManager::getCommonConfig ( ) const
inlineoverridevirtual

Implements llvm::objcopy::MultiFormatConfig.

Definition at line 26 of file ConfigManager.h.

References Common.

◆ getELFConfig()

Expected<const ELFConfig &> llvm::objcopy::ConfigManager::getELFConfig ( ) const
inlineoverridevirtual

Implements llvm::objcopy::MultiFormatConfig.

Definition at line 28 of file ConfigManager.h.

References ELF.

◆ getMachOConfig()

Expected< const MachOConfig & > llvm::objcopy::ConfigManager::getMachOConfig ( ) const
overridevirtual

◆ getWasmConfig()

Expected< const WasmConfig & > llvm::objcopy::ConfigManager::getWasmConfig ( ) const
overridevirtual

◆ getXCOFFConfig()

Expected< const XCOFFConfig & > llvm::objcopy::ConfigManager::getXCOFFConfig ( ) const
overridevirtual

Implements llvm::objcopy::MultiFormatConfig.

Definition at line 69 of file ConfigManager.cpp.

References llvm::objcopy::CommonConfig::AddGnuDebugLink, llvm::objcopy::CommonConfig::AddSection, llvm::objcopy::CommonConfig::AllocSectionsPrefix, Common, llvm::createStringError(), llvm::objcopy::CommonConfig::DecompressDebugSections, llvm::objcopy::CommonConfig::DiscardMode, llvm::objcopy::CommonConfig::DumpSection, llvm::StringMapImpl::empty(), llvm::StringRef::empty(), llvm::objcopy::NameMatcher::empty(), llvm::objcopy::CommonConfig::ExtractDWO, llvm::objcopy::CommonConfig::ExtractMainPartition, llvm::objcopy::CommonConfig::ExtractPartition, llvm::invalid_argument, llvm::objcopy::CommonConfig::KeepSection, llvm::objcopy::None, llvm::objcopy::CommonConfig::OnlyKeepDebug, llvm::objcopy::CommonConfig::OnlySection, llvm::objcopy::CommonConfig::PreserveDates, llvm::objcopy::CommonConfig::SectionsToRename, llvm::objcopy::CommonConfig::SetSectionAlignment, llvm::objcopy::CommonConfig::SetSectionFlags, llvm::objcopy::CommonConfig::SplitDWO, llvm::objcopy::CommonConfig::StripAllGNU, llvm::objcopy::CommonConfig::StripDebug, llvm::objcopy::CommonConfig::StripDWO, llvm::objcopy::CommonConfig::StripNonAlloc, llvm::objcopy::CommonConfig::StripSections, llvm::objcopy::CommonConfig::StripUnneeded, llvm::objcopy::CommonConfig::SymbolsPrefix, llvm::objcopy::CommonConfig::SymbolsToAdd, llvm::objcopy::CommonConfig::SymbolsToGlobalize, llvm::objcopy::CommonConfig::SymbolsToKeep, llvm::objcopy::CommonConfig::SymbolsToKeepGlobal, llvm::objcopy::CommonConfig::SymbolsToLocalize, llvm::objcopy::CommonConfig::SymbolsToRemove, llvm::objcopy::CommonConfig::SymbolsToRename, llvm::objcopy::CommonConfig::SymbolsToWeaken, llvm::objcopy::CommonConfig::ToRemove, llvm::objcopy::CommonConfig::UnneededSymbolsToRemove, llvm::objcopy::CommonConfig::Weaken, and XCOFF.

Member Data Documentation

◆ COFF

COFFConfig llvm::objcopy::ConfigManager::COFF

Definition at line 41 of file ConfigManager.h.

Referenced by getCOFFConfig().

◆ Common

CommonConfig llvm::objcopy::ConfigManager::Common

◆ ELF

ELFConfig llvm::objcopy::ConfigManager::ELF

Definition at line 40 of file ConfigManager.h.

Referenced by getELFConfig().

◆ MachO

MachOConfig llvm::objcopy::ConfigManager::MachO

Definition at line 42 of file ConfigManager.h.

Referenced by getMachOConfig().

◆ Wasm

WasmConfig llvm::objcopy::ConfigManager::Wasm

Definition at line 43 of file ConfigManager.h.

Referenced by getWasmConfig().

◆ XCOFF

XCOFFConfig llvm::objcopy::ConfigManager::XCOFF

Definition at line 44 of file ConfigManager.h.

Referenced by getXCOFFConfig().


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