blob: c8b9b2e9790b6bfb0049ce0799811000e3a9ade8 [file] [log] [blame]
Bill Schmidt22d40dc2013-05-13 19:34:37 +00001//===-- PPCTargetObjectFile.h - PPC 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
Benjamin Kramera7c40ef2014-08-13 16:26:38 +000010#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETOBJECTFILE_H
11#define LLVM_LIB_TARGET_POWERPC_PPCTARGETOBJECTFILE_H
Bill Schmidt22d40dc2013-05-13 19:34:37 +000012
13#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
14#include "llvm/Target/TargetLoweringObjectFile.h"
15#include "llvm/Target/TargetMachine.h"
16
17namespace llvm {
18
19 /// PPC64LinuxTargetObjectFile - This implementation is used for
20 /// 64-bit PowerPC Linux.
21 class PPC64LinuxTargetObjectFile : public TargetLoweringObjectFileELF {
22
Craig Topper73156022014-03-02 09:09:27 +000023 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
Bill Schmidt22d40dc2013-05-13 19:34:37 +000024
Peter Collingbourne67335642016-10-24 19:23:39 +000025 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
Rafael Espindola0709a7b2015-05-21 19:20:38 +000026 const TargetMachine &TM) const override;
Ulrich Weigand0f039822013-07-02 18:47:35 +000027
28 /// \brief Describe a TLS variable address within debug info.
Craig Topper73156022014-03-02 09:09:27 +000029 const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
Bill Schmidt22d40dc2013-05-13 19:34:37 +000030 };
31
32} // end namespace llvm
33
34#endif