diff options
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/ELFObjcopy.h')
| -rw-r--r-- | llvm/tools/llvm-objcopy/ELF/ELFObjcopy.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/tools/llvm-objcopy/ELF/ELFObjcopy.h b/llvm/tools/llvm-objcopy/ELF/ELFObjcopy.h index b66bbd5d33f..a7fe37d0050 100644 --- a/llvm/tools/llvm-objcopy/ELF/ELFObjcopy.h +++ b/llvm/tools/llvm-objcopy/ELF/ELFObjcopy.h @@ -10,6 +10,7 @@ #define LLVM_TOOLS_OBJCOPY_ELFOBJCOPY_H namespace llvm { +class Error; class MemoryBuffer; namespace object { @@ -21,10 +22,10 @@ struct CopyConfig; class Buffer; namespace elf { -void executeObjcopyOnRawBinary(const CopyConfig &Config, MemoryBuffer &In, - Buffer &Out); -void executeObjcopyOnBinary(const CopyConfig &Config, - object::ELFObjectFileBase &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 |

