blob: cd84da2227515ef7192cd591ac3307e0276e2203 [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
Rafael Espindola10705012014-02-08 06:07:27 +000025 const MCSection *SelectSectionForGlobal(const GlobalValue *GV,
Craig Topper73156022014-03-02 09:09:27 +000026 SectionKind Kind, Mangler &Mang,
27 const TargetMachine &TM) const override;
Ulrich Weigand0f039822013-07-02 18:47:35 +000028
29 /// \brief Describe a TLS variable address within debug info.
Craig Topper73156022014-03-02 09:09:27 +000030 const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
Bill Schmidt22d40dc2013-05-13 19:34:37 +000031 };
32
33} // end namespace llvm
34
35#endif