LLVM 20.0.0git
Public Attributes | List of all members
llvm::objcopy::CommonConfig Struct Reference

#include "llvm/ObjCopy/CommonConfig.h"

Public Attributes

StringRef InputFilename
 
FileFormat InputFormat = FileFormat::Unspecified
 
StringRef OutputFilename
 
FileFormat OutputFormat = FileFormat::Unspecified
 
std::optional< MachineInfoOutputArch
 
StringRef AddGnuDebugLink
 
uint32_t GnuDebugLinkCRC32
 
std::optional< StringRefExtractPartition
 
uint8_t GapFill = 0
 
uint64_t PadTo = 0
 
StringRef SplitDWO
 
StringRef SymbolsPrefix
 
StringRef SymbolsPrefixRemove
 
StringRef AllocSectionsPrefix
 
DiscardType DiscardMode = DiscardType::None
 
SmallVector< NewSectionInfo, 0 > AddSection
 
SmallVector< StringRef, 0 > DumpSection
 
SmallVector< NewSectionInfo, 0 > UpdateSection
 
SmallVector< SectionPatternAddressUpdate, 0 > ChangeSectionAddress
 
NameMatcher KeepSection
 
NameMatcher OnlySection
 
NameMatcher ToRemove
 
NameMatcher SymbolsToGlobalize
 
NameMatcher SymbolsToKeep
 
NameMatcher SymbolsToLocalize
 
NameMatcher SymbolsToRemove
 
NameMatcher UnneededSymbolsToRemove
 
NameMatcher SymbolsToWeaken
 
NameMatcher SymbolsToKeepGlobal
 
NameMatcher SymbolsToSkip
 
StringMap< SectionRenameSectionsToRename
 
StringMap< uint64_tSetSectionAlignment
 
StringMap< SectionFlagsUpdateSetSectionFlags
 
StringMap< uint64_tSetSectionType
 
StringMap< StringRefSymbolsToRename
 
SmallVector< NewSymbolInfo, 0 > SymbolsToAdd
 
int64_t ChangeSectionLMAValAll = 0
 
bool DeterministicArchives = true
 
bool ExtractDWO = false
 
bool ExtractMainPartition = false
 
bool OnlyKeepDebug = false
 
bool PreserveDates = false
 
bool StripAll = false
 
bool StripAllGNU = false
 
bool StripDWO = false
 
bool StripDebug = false
 
bool StripNonAlloc = false
 
bool StripSections = false
 
bool StripUnneeded = false
 
bool Weaken = false
 
bool DecompressDebugSections = false
 
DebugCompressionType CompressionType = DebugCompressionType::None
 
SmallVector< std::pair< NameMatcher, llvm::DebugCompressionType >, 0 > compressSections
 

Detailed Description

Definition at line 207 of file CommonConfig.h.

Member Data Documentation

◆ AddGnuDebugLink

StringRef llvm::objcopy::CommonConfig::AddGnuDebugLink

◆ AddSection

SmallVector<NewSectionInfo, 0> llvm::objcopy::CommonConfig::AddSection

Definition at line 231 of file CommonConfig.h.

Referenced by llvm::objcopy::ConfigManager::getXCOFFConfig().

◆ AllocSectionsPrefix

StringRef llvm::objcopy::CommonConfig::AllocSectionsPrefix

◆ ChangeSectionAddress

SmallVector<SectionPatternAddressUpdate, 0> llvm::objcopy::CommonConfig::ChangeSectionAddress

◆ ChangeSectionLMAValAll

int64_t llvm::objcopy::CommonConfig::ChangeSectionLMAValAll = 0

◆ CompressionType

DebugCompressionType llvm::objcopy::CommonConfig::CompressionType = DebugCompressionType::None

Definition at line 280 of file CommonConfig.h.

◆ compressSections

SmallVector<std::pair<NameMatcher, llvm::DebugCompressionType>, 0> llvm::objcopy::CommonConfig::compressSections

Definition at line 283 of file CommonConfig.h.

◆ DecompressDebugSections

bool llvm::objcopy::CommonConfig::DecompressDebugSections = false

◆ DeterministicArchives

bool llvm::objcopy::CommonConfig::DeterministicArchives = true

Definition at line 265 of file CommonConfig.h.

Referenced by llvm::objcopy::executeObjcopyOnArchive().

◆ DiscardMode

DiscardType llvm::objcopy::CommonConfig::DiscardMode = DiscardType::None

◆ DumpSection

SmallVector<StringRef, 0> llvm::objcopy::CommonConfig::DumpSection

Definition at line 232 of file CommonConfig.h.

Referenced by llvm::objcopy::ConfigManager::getXCOFFConfig().

◆ ExtractDWO

bool llvm::objcopy::CommonConfig::ExtractDWO = false

◆ ExtractMainPartition

bool llvm::objcopy::CommonConfig::ExtractMainPartition = false

Definition at line 267 of file CommonConfig.h.

Referenced by llvm::objcopy::ConfigManager::getXCOFFConfig().

◆ ExtractPartition

std::optional<StringRef> llvm::objcopy::CommonConfig::ExtractPartition

◆ GapFill

uint8_t llvm::objcopy::CommonConfig::GapFill = 0

◆ GnuDebugLinkCRC32

uint32_t llvm::objcopy::CommonConfig::GnuDebugLinkCRC32

Definition at line 220 of file CommonConfig.h.

◆ InputFilename

StringRef llvm::objcopy::CommonConfig::InputFilename

Definition at line 209 of file CommonConfig.h.

◆ InputFormat

FileFormat llvm::objcopy::CommonConfig::InputFormat = FileFormat::Unspecified

Definition at line 210 of file CommonConfig.h.

◆ KeepSection

NameMatcher llvm::objcopy::CommonConfig::KeepSection

◆ OnlyKeepDebug

bool llvm::objcopy::CommonConfig::OnlyKeepDebug = false

Definition at line 268 of file CommonConfig.h.

Referenced by llvm::objcopy::ConfigManager::getXCOFFConfig().

◆ OnlySection

NameMatcher llvm::objcopy::CommonConfig::OnlySection

Definition at line 238 of file CommonConfig.h.

Referenced by llvm::objcopy::ConfigManager::getXCOFFConfig().

◆ OutputArch

std::optional<MachineInfo> llvm::objcopy::CommonConfig::OutputArch

Definition at line 215 of file CommonConfig.h.

◆ OutputFilename

StringRef llvm::objcopy::CommonConfig::OutputFilename

Definition at line 211 of file CommonConfig.h.

Referenced by llvm::objcopy::executeObjcopyOnArchive().

◆ OutputFormat

FileFormat llvm::objcopy::CommonConfig::OutputFormat = FileFormat::Unspecified

Definition at line 212 of file CommonConfig.h.

◆ PadTo

uint64_t llvm::objcopy::CommonConfig::PadTo = 0

◆ PreserveDates

bool llvm::objcopy::CommonConfig::PreserveDates = false

◆ SectionsToRename

StringMap<SectionRename> llvm::objcopy::CommonConfig::SectionsToRename

◆ SetSectionAlignment

StringMap<uint64_t> llvm::objcopy::CommonConfig::SetSectionAlignment

◆ SetSectionFlags

StringMap<SectionFlagsUpdate> llvm::objcopy::CommonConfig::SetSectionFlags

◆ SetSectionType

StringMap<uint64_t> llvm::objcopy::CommonConfig::SetSectionType

◆ SplitDWO

StringRef llvm::objcopy::CommonConfig::SplitDWO

◆ StripAll

bool llvm::objcopy::CommonConfig::StripAll = false

Definition at line 270 of file CommonConfig.h.

◆ StripAllGNU

bool llvm::objcopy::CommonConfig::StripAllGNU = false

◆ StripDebug

bool llvm::objcopy::CommonConfig::StripDebug = false

Definition at line 273 of file CommonConfig.h.

Referenced by llvm::objcopy::ConfigManager::getXCOFFConfig().

◆ StripDWO

bool llvm::objcopy::CommonConfig::StripDWO = false

◆ StripNonAlloc

bool llvm::objcopy::CommonConfig::StripNonAlloc = false

◆ StripSections

bool llvm::objcopy::CommonConfig::StripSections = false

◆ StripUnneeded

bool llvm::objcopy::CommonConfig::StripUnneeded = false

◆ SymbolsPrefix

StringRef llvm::objcopy::CommonConfig::SymbolsPrefix

◆ SymbolsPrefixRemove

StringRef llvm::objcopy::CommonConfig::SymbolsPrefixRemove

◆ SymbolsToAdd

SmallVector<NewSymbolInfo, 0> llvm::objcopy::CommonConfig::SymbolsToAdd

◆ SymbolsToGlobalize

NameMatcher llvm::objcopy::CommonConfig::SymbolsToGlobalize

◆ SymbolsToKeep

NameMatcher llvm::objcopy::CommonConfig::SymbolsToKeep

◆ SymbolsToKeepGlobal

NameMatcher llvm::objcopy::CommonConfig::SymbolsToKeepGlobal

◆ SymbolsToLocalize

NameMatcher llvm::objcopy::CommonConfig::SymbolsToLocalize

◆ SymbolsToRemove

NameMatcher llvm::objcopy::CommonConfig::SymbolsToRemove

◆ SymbolsToRename

StringMap<StringRef> llvm::objcopy::CommonConfig::SymbolsToRename

◆ SymbolsToSkip

NameMatcher llvm::objcopy::CommonConfig::SymbolsToSkip

◆ SymbolsToWeaken

NameMatcher llvm::objcopy::CommonConfig::SymbolsToWeaken

◆ ToRemove

NameMatcher llvm::objcopy::CommonConfig::ToRemove

Definition at line 239 of file CommonConfig.h.

Referenced by llvm::objcopy::ConfigManager::getXCOFFConfig().

◆ UnneededSymbolsToRemove

NameMatcher llvm::objcopy::CommonConfig::UnneededSymbolsToRemove

◆ UpdateSection

SmallVector<NewSectionInfo, 0> llvm::objcopy::CommonConfig::UpdateSection

Definition at line 233 of file CommonConfig.h.

◆ Weaken

bool llvm::objcopy::CommonConfig::Weaken = false

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