[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / tools / llvm-objcopy / ELF / ELFObjcopy.h
blobe13e237e29c49e551a35f34bb097aeab0b515927
1 //===- ELFObjcopy.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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H
10 #define LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H
12 namespace llvm {
13 class Error;
14 class MemoryBuffer;
16 namespace object {
17 class ELFObjectFileBase;
18 } // end namespace object
20 namespace objcopy {
21 struct CopyConfig;
22 class Buffer;
24 namespace elf {
25 Error executeObjcopyOnIHex(const CopyConfig &Config, MemoryBuffer &In,
26 Buffer &Out);
27 Error executeObjcopyOnRawBinary(const CopyConfig &Config, MemoryBuffer &In,
28 Buffer &Out);
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