1 //===-- PPCMCAsmInfo.h - PPC asm properties --------------------*- C++ -*--===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 // 10 // This file contains the declaration of the MCAsmInfoDarwin class. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H 15 #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H 16 17 #include "llvm/MC/MCAsmInfoDarwin.h" 18 #include "llvm/MC/MCAsmInfoELF.h" 19 20 namespace llvm { 21 class Triple; 22 23 class PPCMCAsmInfoDarwin : public MCAsmInfoDarwin { 24 virtual void anchor(); 25 26 public: 27 explicit PPCMCAsmInfoDarwin(bool is64Bit, const Triple &); 28 }; 29 30 class PPCELFMCAsmInfo : public MCAsmInfoELF { 31 void anchor() override; 32 33 public: 34 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &); 35 }; 36 37 } // namespace llvm 38 39 #endif 40