blob: 43f41c00ce5b12a3498d59db1481c5f2c95974ea [file] [log] [blame]
Alexander Shaposhnikovf4e75a52018-10-29 21:22:58 +00001//===- ELFObjcopy.h ---------------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H
11#define LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H
12
13namespace llvm {
14class MemoryBuffer;
15
16namespace object {
17class ELFObjectFileBase;
18} // end namespace object
19
20namespace objcopy {
21struct CopyConfig;
22class Buffer;
23
24namespace elf {
25void executeObjcopyOnRawBinary(const CopyConfig &Config, MemoryBuffer &In,
26 Buffer &Out);
27void executeObjcopyOnBinary(const CopyConfig &Config,
28 object::ELFObjectFileBase &In, Buffer &Out);
29
30} // end namespace elf
31} // end namespace objcopy
32} // end namespace llvm
33
34#endif // LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H