2009-08-02 00:34:36 +00: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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_TARGET_ARM_TARGETOBJECTFILE_H
|
|
|
|
#define LLVM_TARGET_ARM_TARGETOBJECTFILE_H
|
|
|
|
|
2010-02-15 22:37:53 +00:00
|
|
|
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
|
2009-08-02 00:34:36 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
2009-08-11 15:33:49 +00:00
|
|
|
|
2010-03-09 18:31:07 +00:00
|
|
|
class MCContext;
|
|
|
|
class TargetMachine;
|
|
|
|
|
|
|
|
class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
|
2010-10-11 23:01:44 +00:00
|
|
|
protected:
|
|
|
|
const MCSection *AttributesSection;
|
2010-03-09 18:31:07 +00:00
|
|
|
public:
|
2010-10-11 23:01:44 +00:00
|
|
|
ARMElfTargetObjectFile() :
|
|
|
|
TargetLoweringObjectFileELF(),
|
|
|
|
AttributesSection(NULL)
|
|
|
|
{}
|
2010-03-09 18:31:07 +00:00
|
|
|
|
2014-02-08 06:07:27 +00:00
|
|
|
void Initialize(MCContext &Ctx, const TargetMachine &TM) LLVM_OVERRIDE;
|
2010-10-11 23:01:44 +00:00
|
|
|
|
2014-02-19 12:26:01 +00:00
|
|
|
const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
|
|
|
|
unsigned Encoding, Mangler &Mang,
|
|
|
|
MachineModuleInfo *MMI,
|
|
|
|
MCStreamer &Streamer) const
|
2014-02-08 06:07:27 +00:00
|
|
|
LLVM_OVERRIDE;
|
2014-02-05 07:23:09 +00:00
|
|
|
|
|
|
|
/// \brief Describe a TLS variable address within debug info.
|
2014-02-08 06:07:27 +00:00
|
|
|
const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const
|
|
|
|
LLVM_OVERRIDE;
|
2010-03-09 18:31:07 +00:00
|
|
|
};
|
|
|
|
|
2009-08-02 00:34:36 +00:00
|
|
|
} // end namespace llvm
|
|
|
|
|
|
|
|
#endif
|