blob: f34e361db7ea94195a8dd1ad2b1555b90e1c086d [file] [log] [blame]
Alexander Shaposhnikovd911ed12019-02-02 00:38:07 +00001//===- MachOObjcopy.h -------------------------------------------*- C++ -*-===//
2//
Chandler Carruth127252b2019-02-11 08:25:19 +00003// 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
Alexander Shaposhnikovd911ed12019-02-02 00:38:07 +00006//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H
10#define LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H
11
12namespace llvm {
13class Error;
14
15namespace object {
16class MachOObjectFile;
17class MachOUniversalBinary;
18} // end namespace object
19
20namespace objcopy {
21struct CopyConfig;
22class Buffer;
23
24namespace macho {
25Error executeObjcopyOnBinary(const CopyConfig &Config,
26 object::MachOObjectFile &In, Buffer &Out);
27} // end namespace macho
28} // end namespace objcopy
29} // end namespace llvm
30
31#endif // LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H