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

Description

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

Declared at: llvm/include/llvm/ObjCopy/wasm/WasmObjcopy.h:28

Parameters

const llvm::objcopy::CommonConfig& Config
const llvm::objcopy::WasmConfig&
object::WasmObjectFile& In
llvm::raw_ostream& Out

Returns

any Error encountered whilst performing the operation.