Bill Schmidt | 22d40dc | 2013-05-13 19:34:37 +0000 | [diff] [blame] | 1 | //===-- 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 | |
| 17 | namespace llvm { |
| 18 | |
| 19 | /// PPC64LinuxTargetObjectFile - This implementation is used for |
| 20 | /// 64-bit PowerPC Linux. |
| 21 | class PPC64LinuxTargetObjectFile : public TargetLoweringObjectFileELF { |
| 22 | |
Rafael Espindola | 1070501 | 2014-02-08 06:07:27 +0000 | [diff] [blame] | 23 | void Initialize(MCContext &Ctx, const TargetMachine &TM) LLVM_OVERRIDE; |
Bill Schmidt | 22d40dc | 2013-05-13 19:34:37 +0000 | [diff] [blame] | 24 | |
Rafael Espindola | 1070501 | 2014-02-08 06:07:27 +0000 | [diff] [blame] | 25 | const MCSection *SelectSectionForGlobal(const GlobalValue *GV, |
| 26 | SectionKind Kind, Mangler *Mang, |
| 27 | const TargetMachine &TM) const |
| 28 | LLVM_OVERRIDE; |
Ulrich Weigand | 0f03982 | 2013-07-02 18:47:35 +0000 | [diff] [blame] | 29 | |
| 30 | /// \brief Describe a TLS variable address within debug info. |
Rafael Espindola | 1070501 | 2014-02-08 06:07:27 +0000 | [diff] [blame] | 31 | const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const |
| 32 | LLVM_OVERRIDE; |
Bill Schmidt | 22d40dc | 2013-05-13 19:34:37 +0000 | [diff] [blame] | 33 | }; |
| 34 | |
| 35 | } // end namespace llvm |
| 36 | |
| 37 | #endif |