1 //===-- PPCTargetObjectFile.h - PPC Object Info -----------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_TARGET_PPC_TARGETOBJECTFILE_H
11 #define LLVM_TARGET_PPC_TARGETOBJECTFILE_H
13 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
14 #include "llvm/Target/TargetLoweringObjectFile.h"
15 #include "llvm/Target/TargetMachine.h"
19 /// PPC64LinuxTargetObjectFile - This implementation is used for
20 /// 64-bit PowerPC Linux.
21 class PPC64LinuxTargetObjectFile : public TargetLoweringObjectFileELF {
23 virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
25 virtual const MCSection *SelectSectionForGlobal(const GlobalValue *GV,
28 TargetMachine &TM) const;
30 /// \brief Describe a TLS variable address within debug info.
31 virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
34 } // end namespace llvm