1 //===- MachOObjcopy.h -------------------------------------------*- C++ -*-===// 2 // 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 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H 10 #define LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H 11 12 namespace llvm { 13 class Error; 14 15 namespace object { 16 class MachOObjectFile; 17 class MachOUniversalBinary; 18 } // end namespace object 19 20 namespace objcopy { 21 struct CopyConfig; 22 class Buffer; 23 24 namespace macho { 25 Error executeObjcopyOnBinary(const CopyConfig &Config, 26 object::MachOObjectFile &In, Buffer &Out); 27 28 Error executeObjcopyOnMachOUniversalBinary( 29 CopyConfig &Config, const object::MachOUniversalBinary &In, Buffer &Out); 30 31 } // end namespace macho 32 } // end namespace objcopy 33 } // end namespace llvm 34 35 #endif // LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H 36