LLVM API Documentation
00001 //===-- ARMAsmBackendELF.h ARM Asm Backend ELF -----------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_LIB_TARGET_ARM_ELFARMASMBACKEND_H 00011 #define LLVM_LIB_TARGET_ARM_ELFARMASMBACKEND_H 00012 00013 using namespace llvm; 00014 namespace { 00015 class ARMAsmBackendELF : public ARMAsmBackend { 00016 public: 00017 uint8_t OSABI; 00018 ARMAsmBackendELF(const Target &T, StringRef TT, uint8_t OSABI, bool IsLittle) 00019 : ARMAsmBackend(T, TT, IsLittle), OSABI(OSABI) {} 00020 00021 MCObjectWriter *createObjectWriter(raw_ostream &OS) const override { 00022 return createARMELFObjectWriter(OS, OSABI, isLittle()); 00023 } 00024 }; 00025 } 00026 00027 #endif