2009-08-02 02:34:36 +02:00
|
|
|
//===-- llvm/Target/ARMTargetObjectFile.h - ARM Object Info -----*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 18:26:38 +02:00
|
|
|
#ifndef LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
|
|
|
|
#define LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
|
2009-08-02 02:34:36 +02:00
|
|
|
|
2010-02-15 23:37:53 +01:00
|
|
|
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
|
2009-08-02 02:34:36 +02:00
|
|
|
|
|
|
|
namespace llvm {
|
2009-08-11 17:33:49 +02:00
|
|
|
|
2010-03-09 19:31:07 +01:00
|
|
|
class MCContext;
|
|
|
|
class TargetMachine;
|
|
|
|
|
|
|
|
class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
|
2010-10-12 01:01:44 +02:00
|
|
|
protected:
|
|
|
|
const MCSection *AttributesSection;
|
2010-03-09 19:31:07 +01:00
|
|
|
public:
|
2010-10-12 01:01:44 +02:00
|
|
|
ARMElfTargetObjectFile() :
|
|
|
|
TargetLoweringObjectFileELF(),
|
2014-04-28 06:05:08 +02:00
|
|
|
AttributesSection(nullptr)
|
2010-10-12 01:01:44 +02:00
|
|
|
{}
|
2010-03-09 19:31:07 +01:00
|
|
|
|
2014-03-02 10:09:27 +01:00
|
|
|
void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
|
2010-10-12 01:01:44 +02:00
|
|
|
|
2014-02-19 18:23:20 +01:00
|
|
|
const MCExpr *
|
|
|
|
getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding,
|
|
|
|
Mangler &Mang, const TargetMachine &TM,
|
2014-03-02 10:09:27 +01:00
|
|
|
MachineModuleInfo *MMI,
|
|
|
|
MCStreamer &Streamer) const override;
|
2014-02-05 08:23:09 +01:00
|
|
|
|
|
|
|
/// \brief Describe a TLS variable address within debug info.
|
2014-03-02 10:09:27 +01:00
|
|
|
const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
|
2010-03-09 19:31:07 +01:00
|
|
|
};
|
|
|
|
|
2009-08-02 02:34:36 +02:00
|
|
|
} // end namespace llvm
|
|
|
|
|
|
|
|
#endif
|