2014-01-29 12:51:35 +08:00
|
|
|
//===-- 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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
|
|
|
|
#define LLVM_LIB_TARGET_SPARC_SPARCTARGETOBJECTFILE_H
|
2014-01-29 12:51:35 +08:00
|
|
|
|
|
|
|
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class MCContext;
|
|
|
|
class TargetMachine;
|
|
|
|
|
|
|
|
class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF {
|
|
|
|
public:
|
|
|
|
SparcELFTargetObjectFile() :
|
|
|
|
TargetLoweringObjectFileELF()
|
|
|
|
{}
|
|
|
|
|
2014-02-20 01:23:20 +08:00
|
|
|
const MCExpr *
|
|
|
|
getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding,
|
|
|
|
Mangler &Mang, const TargetMachine &TM,
|
2014-03-02 17:09:27 +08:00
|
|
|
MachineModuleInfo *MMI,
|
|
|
|
MCStreamer &Streamer) const override;
|
2014-01-29 12:51:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
} // end namespace llvm
|
|
|
|
|
|
|
|
#endif
|