[#llvm-objcopy-ConfigManager] = xref:llvm.adoc[llvm]::xref:llvm/objcopy.adoc[objcopy]::ConfigManager :relfileprefix: ../../ :mrdocs: Holds common and per‐format configuration for a single objcopy operation. == Synopsis Declared in `<llvm/ObjCopy/ConfigManager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct ConfigManager : xref:llvm/objcopy/MultiFormatConfig.adoc[MultiFormatConfig] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/objcopy/MultiFormatConfig.adoc[MultiFormatConfig]` | Interface providing common and per‐format configuration for an objcopy operation. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/objcopy/ConfigManager/2destructor.adoc[`~ConfigManager`] [.small]#[destructor]# [.small]#[virtual]# | Destroy this configuration manager. | xref:llvm/objcopy/ConfigManager/getCOFFConfig.adoc[`getCOFFConfig`] [.small]#[virtual]# | Return the COFF configuration if the common options are supported for COFF. | xref:llvm/objcopy/ConfigManager/getCommonConfig.adoc[`getCommonConfig`] [.small]#[virtual]# | Return the format‐independent configuration. | xref:llvm/objcopy/ConfigManager/getDXContainerConfig.adoc[`getDXContainerConfig`] [.small]#[virtual]# | Return the DXContainer configuration if the common options are supported. | xref:llvm/objcopy/ConfigManager/getELFConfig.adoc[`getELFConfig`] [.small]#[virtual]# | Return the ELF configuration if the common options are supported for ELF. | xref:llvm/objcopy/ConfigManager/getMachOConfig.adoc[`getMachOConfig`] [.small]#[virtual]# | Return the Mach‐O configuration if the common options are supported. | xref:llvm/objcopy/ConfigManager/getWasmConfig.adoc[`getWasmConfig`] [.small]#[virtual]# | Return the Wasm configuration if the common options are supported for Wasm. | xref:llvm/objcopy/ConfigManager/getXCOFFConfig.adoc[`getXCOFFConfig`] [.small]#[virtual]# | Return the XCOFF configuration if the common options are supported. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/objcopy/ConfigManager/COFF.adoc[`COFF`] | COFF‐specific configuration for copying or stripping. | xref:llvm/objcopy/ConfigManager/Common.adoc[`Common`] | Format‐independent configuration shared by all object formats. | xref:llvm/objcopy/ConfigManager/DXContainer.adoc[`DXContainer`] | DXContainer‐specific configuration for copying or stripping. | xref:llvm/objcopy/ConfigManager/ELF.adoc[`ELF`] | ELF‐specific configuration for copying or stripping. | xref:llvm/objcopy/ConfigManager/MachO.adoc[`MachO`] | Mach‐O‐specific configuration for copying or stripping. | xref:llvm/objcopy/ConfigManager/Wasm.adoc[`Wasm`] | Wasm‐specific configuration for copying or stripping. | xref:llvm/objcopy/ConfigManager/XCOFF.adoc[`XCOFF`] | XCOFF‐specific configuration for copying or stripping. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/objcopy/executeObjcopyOnArchive.adoc[`executeObjcopyOnArchive`] | Applies the transformations described by `Config` to each member in archive `Ar.` Writes a result in a file specified by `Config.OutputFilename.` | xref:llvm/objcopy/executeObjcopyOnBinary.adoc[`executeObjcopyOnBinary`] | Applies the transformations described by `Config` to `In` and writes the result into `Out.` | xref:llvm/objcopy/macho/executeObjcopyOnMachOUniversalBinary.adoc[`macho::executeObjcopyOnMachOUniversalBinary`] | Apply the transformations described by `Config` to `In` and writes the result into `Out.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#