1 //===- ELFObjcopy.h ---------------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H
10 #define LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H
17 class ELFObjectFileBase
;
18 } // end namespace object
25 Error
executeObjcopyOnIHex(const CopyConfig
&Config
, MemoryBuffer
&In
,
27 Error
executeObjcopyOnRawBinary(const CopyConfig
&Config
, MemoryBuffer
&In
,
29 Error
executeObjcopyOnBinary(const CopyConfig
&Config
,
30 object::ELFObjectFileBase
&In
, Buffer
&Out
);
32 } // end namespace elf
33 } // end namespace objcopy
34 } // end namespace llvm
36 #endif // LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H