mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
2909d80ad6
Patch by Fedor Sergeev. Differential Revision: https://reviews.llvm.org/D33868 llvm-svn: 305948
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
//===-- SparcTargetObjectFile.h - Sparc Object Info -------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
|
|
#define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
|
|
|
|
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
|
|
|
|
namespace llvm {
|
|
|
|
class MCContext;
|
|
class TargetMachine;
|
|
|
|
class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF {
|
|
public:
|
|
SparcELFTargetObjectFile() :
|
|
TargetLoweringObjectFileELF()
|
|
{}
|
|
|
|
void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
|
|
|
|
const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
|
|
unsigned Encoding,
|
|
const TargetMachine &TM,
|
|
MachineModuleInfo *MMI,
|
|
MCStreamer &Streamer) const override;
|
|
};
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif
|