1 //===-- SparcTargetObjectFile.h - Sparc Object Info -------------*- 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 #ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H 11 #define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H 12 13 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" 14 15 namespace llvm { 16 17 class MCContext; 18 class TargetMachine; 19 20 class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF { 21 public: SparcELFTargetObjectFile()22 SparcELFTargetObjectFile() : 23 TargetLoweringObjectFileELF() 24 {} 25 26 const MCExpr * 27 getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, 28 Mangler &Mang, const TargetMachine &TM, 29 MachineModuleInfo *MMI, 30 MCStreamer &Streamer) const override; 31 }; 32 33 } // end namespace llvm 34 35 #endif 36