//===- lib/ReaderWriter/ELF/AArch64/AArch64ELFFile.h ----------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef LLD_READER_WRITER_ELF_AARCH64_AARCH64_ELF_FILE_H #define LLD_READER_WRITER_ELF_AARCH64_AARCH64_ELF_FILE_H #include "ELFReader.h" namespace lld { namespace elf { class AArch64LinkingContext; template class AArch64ELFFile : public ELFFile { public: AArch64ELFFile(std::unique_ptr mb, AArch64LinkingContext &ctx) : ELFFile(std::move(mb), ctx) {} static ErrorOr> create(std::unique_ptr mb, AArch64LinkingContext &ctx) { return std::unique_ptr>( new AArch64ELFFile(std::move(mb), ctx)); } }; template class AArch64DynamicFile : public DynamicFile { public: AArch64DynamicFile(const AArch64LinkingContext &context, StringRef name) : DynamicFile(context, name) {} }; } // elf } // lld #endif // LLD_READER_WRITER_ELF_AARCH64_AARCH64_ELF_FILE_H