blob: 262c52213d29ce5658818375ab580651982ea6f5 [file] [log] [blame]
Bill Schmidt240b9b62013-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
10#ifndef LLVM_TARGET_PPC_TARGETOBJECTFILE_H
11#define LLVM_TARGET_PPC_TARGETOBJECTFILE_H
12
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
23 virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
24
25 virtual const MCSection *
26 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
27 Mangler *Mang, const TargetMachine &TM) const;
Ulrich Weigandb8430602013-07-02 18:47:35 +000028
29 /// \brief Describe a TLS variable address within debug info.
30 virtual const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const;
Bill Schmidt240b9b62013-05-13 19:34:37 +000031 };
32
33} // end namespace llvm
34
35#endif