2013-05-13 21:34:37 +02:00
|
|
|
//===-- PPCTargetObjectFile.h - PPC Object Info -----------------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2013-05-13 21:34:37 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 18:26:38 +02:00
|
|
|
#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETOBJECTFILE_H
|
|
|
|
#define LLVM_LIB_TARGET_POWERPC_PPCTARGETOBJECTFILE_H
|
2013-05-13 21:34:37 +02:00
|
|
|
|
|
|
|
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
|
2018-03-24 00:58:19 +01:00
|
|
|
#include "llvm/Target/TargetLoweringObjectFile.h"
|
2013-05-13 21:34:37 +02:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
/// PPC64LinuxTargetObjectFile - This implementation is used for
|
|
|
|
/// 64-bit PowerPC Linux.
|
|
|
|
class PPC64LinuxTargetObjectFile : public TargetLoweringObjectFileELF {
|
|
|
|
|
2014-03-02 10:09:27 +01:00
|
|
|
void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
|
2013-05-13 21:34:37 +02:00
|
|
|
|
2016-10-24 21:23:39 +02:00
|
|
|
MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
2015-05-21 21:20:38 +02:00
|
|
|
const TargetMachine &TM) const override;
|
2013-07-02 20:47:35 +02:00
|
|
|
|
2018-05-01 17:54:18 +02:00
|
|
|
/// Describe a TLS variable address within debug info.
|
2014-03-02 10:09:27 +01:00
|
|
|
const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
|
2013-05-13 21:34:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} // end namespace llvm
|
|
|
|
|
|
|
|
#endif
|