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
15 class ARMAsmBackendELF : public ARMAsmBackend {
18 ARMAsmBackendELF(const Target &T, StringRef TT, uint8_t OSABI, bool IsLittle)
19 : ARMAsmBackend(T, TT, IsLittle), OSABI(OSABI) {}
21 MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override {
22 return createARMELFObjectWriter(OS, OSABI, isLittle());