xref: /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.h (revision 82d56013d7b633d116a93943de88e08335357a7c)
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 class raw_ostream;
15 
16 namespace object {
17 class COFFObjectFile;
18 } // end namespace object
19 
20 namespace objcopy {
21 struct CommonConfig;
22 struct COFFConfig;
23 
24 namespace coff {
25 
26 Error executeObjcopyOnBinary(const CommonConfig &Config, const COFFConfig &,
27                              object::COFFObjectFile &In, raw_ostream &Out);
28 
29 } // end namespace coff
30 } // end namespace objcopy
31 } // end namespace llvm
32 
33 #endif // LLVM_TOOLS_OBJCOPY_COFFOBJCOPY_H
34