Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:16

0001 //===- XCOFFObjcopy.h -------------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_OBJCOPY_XCOFF_XCOFFOBJCOPY_H
0010 #define LLVM_OBJCOPY_XCOFF_XCOFFOBJCOPY_H
0011 
0012 namespace llvm {
0013 class Error;
0014 class raw_ostream;
0015 
0016 namespace object {
0017 class XCOFFObjectFile;
0018 } // end namespace object
0019 
0020 namespace objcopy {
0021 struct CommonConfig;
0022 struct XCOFFConfig;
0023 
0024 namespace xcoff {
0025 /// Apply the transformations described by \p Config and \p XCOFFConfig
0026 /// to \p In and writes the result into \p Out.
0027 /// \returns any Error encountered whilst performing the operation.
0028 Error executeObjcopyOnBinary(const CommonConfig &Config, const XCOFFConfig &,
0029                              object::XCOFFObjectFile &In, raw_ostream &Out);
0030 
0031 } // end namespace xcoff
0032 } // end namespace objcopy
0033 } // end namespace llvm
0034 
0035 #endif // LLVM_OBJCOPY_XCOFF_XCOFFOBJCOPY_H