1 //===-- ARMAsmBackendELF.h ARM Asm Backend ELF -----------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_LIB_TARGET_ARM_ELFARMASMBACKEND_H
11 #define LLVM_LIB_TARGET_ARM_ELFARMASMBACKEND_H
13 #include "ARMAsmBackend.h"
14 #include "MCTargetDesc/ARMMCTargetDesc.h"
15 #include "llvm/MC/MCObjectWriter.h"
20 class ARMAsmBackendELF : public ARMAsmBackend {
23 ARMAsmBackendELF(const Target &T, const MCSubtargetInfo &STI, uint8_t OSABI,
24 support::endianness Endian)
25 : ARMAsmBackend(T, STI, Endian), OSABI(OSABI) {}
27 std::unique_ptr<MCObjectTargetWriter>
28 createObjectTargetWriter() const override {
29 return createARMELFObjectWriter(OSABI);