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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_TARGET_ARM_TARGETOBJECTFILE_H
|
|
|
|
#define LLVM_TARGET_ARM_TARGETOBJECTFILE_H
|
|
|
|
|
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(),
|
|
|
|
AttributesSection(NULL)
|
|
|
|
{}
|
2010-03-09 19:31:07 +01:00
|
|
|
|
|
|
|
virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
|
2010-10-12 01:01:44 +02:00
|
|
|
|
|
|
|
virtual const MCSection *getAttributesSection() const {
|
|
|
|
return AttributesSection;
|
|
|
|
}
|
2010-03-09 19:31:07 +01:00
|
|
|
};
|
|
|
|
|
2009-08-02 02:34:36 +02:00
|
|
|
} // end namespace llvm
|
|
|
|
|
|
|
|
#endif
|