LLVM API Documentation
00001 //===-- AArch64TargetObjectFile.h - AArch64 Object Info -*- 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_AARCH64_AARCH64TARGETOBJECTFILE_H 00011 #define LLVM_LIB_TARGET_AARCH64_AARCH64TARGETOBJECTFILE_H 00012 00013 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" 00014 #include "llvm/Target/TargetLoweringObjectFile.h" 00015 00016 namespace llvm { 00017 class AArch64TargetMachine; 00018 00019 /// This implementation is used for AArch64 ELF targets (Linux in particular). 00020 class AArch64_ELFTargetObjectFile : public TargetLoweringObjectFileELF { 00021 void Initialize(MCContext &Ctx, const TargetMachine &TM) override; 00022 }; 00023 00024 /// AArch64_MachoTargetObjectFile - This TLOF implementation is used for Darwin. 00025 class AArch64_MachoTargetObjectFile : public TargetLoweringObjectFileMachO { 00026 public: 00027 const MCExpr *getTTypeGlobalReference(const GlobalValue *GV, 00028 unsigned Encoding, Mangler &Mang, 00029 const TargetMachine &TM, 00030 MachineModuleInfo *MMI, 00031 MCStreamer &Streamer) const override; 00032 00033 MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, Mangler &Mang, 00034 const TargetMachine &TM, 00035 MachineModuleInfo *MMI) const override; 00036 }; 00037 00038 } // end namespace llvm 00039 00040 #endif