ΒΆllvm::Error executeObjcopyOnBinary(
    const llvm::objcopy::CommonConfig& Config,
    const llvm::objcopy::MachOConfig& MachOConfig,
    object::MachOObjectFile& In,
    llvm::raw_ostream& Out)

Description

Apply the transformations described by \p Config and \p MachOConfig to\p In and writes the result into \p Out.

Declared at: llvm/include/llvm/ObjCopy/MachO/MachOObjcopy.h:30

Parameters

const llvm::objcopy::CommonConfig& Config
const llvm::objcopy::MachOConfig& MachOConfig
object::MachOObjectFile& In
llvm::raw_ostream& Out

Returns

any Error encountered whilst performing the operation.