]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm-project / llvm / tools / llvm-objcopy / COFF / COFFObjcopy.h
1 //===- COFFObjcopy.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_COFFOBJCOPY_H
10 #define LLVM_TOOLS_OBJCOPY_COFFOBJCOPY_H
11
12 namespace llvm {
13 class Error;
14
15 namespace object {
16 class COFFObjectFile;
17 } // end namespace object
18
19 namespace objcopy {
20 struct CopyConfig;
21 class Buffer;
22
23 namespace coff {
24 Error executeObjcopyOnBinary(const CopyConfig &Config,
25                              object::COFFObjectFile &In, Buffer &Out);
26
27 } // end namespace coff
28 } // end namespace objcopy
29 } // end namespace llvm
30
31 #endif // LLVM_TOOLS_OBJCOPY_COFFOBJCOPY_H