blob: e13e237e29c49e551a35f34bb097aeab0b515927 [file] [log] [blame]
//===- ELFObjcopy.h ---------------------------------------------*- C++ -*-===//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
namespace llvm {
class Error;
class MemoryBuffer;
namespace object {
class ELFObjectFileBase;
} // end namespace object
namespace objcopy {
struct CopyConfig;
class Buffer;
namespace elf {
Error executeObjcopyOnIHex(const CopyConfig &Config, MemoryBuffer &In,
Buffer &Out);
Error executeObjcopyOnRawBinary(const CopyConfig &Config, MemoryBuffer &In,
Buffer &Out);
Error executeObjcopyOnBinary(const CopyConfig &Config,
object::ELFObjectFileBase &In, Buffer &Out);
} // end namespace elf
} // end namespace objcopy
} // end namespace llvm