1 //===- MachOObjcopy.h -------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H
10 #define LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H
17 class MachOObjectFile
;
18 class MachOUniversalBinary
;
19 } // end namespace object
24 class MultiFormatConfig
;
27 Error
executeObjcopyOnBinary(const CommonConfig
&Config
,
28 const MachOConfig
&MachOConfig
,
29 object::MachOObjectFile
&In
, raw_ostream
&Out
);
31 Error
executeObjcopyOnMachOUniversalBinary(
32 const MultiFormatConfig
&Config
, const object::MachOUniversalBinary
&In
,
35 } // end namespace macho
36 } // end namespace objcopy
37 } // end namespace llvm
39 #endif // LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H