1 //===-- SparcTargetObjectFile.h - Sparc Object Info -------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
10 #define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
12 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
19 class SparcELFTargetObjectFile
: public TargetLoweringObjectFileELF
{
21 SparcELFTargetObjectFile() :
22 TargetLoweringObjectFileELF()
25 void Initialize(MCContext
&Ctx
, const TargetMachine
&TM
) override
;
27 const MCExpr
*getTTypeGlobalReference(const GlobalValue
*GV
,
29 const TargetMachine
&TM
,
30 MachineModuleInfo
*MMI
,
31 MCStreamer
&Streamer
) const override
;
34 } // end namespace llvm