mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 10:32:56 +00:00
6a867d0312
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269895 91177308-0d34-0410-b5e6-96231b3b80d8
35 lines
1.0 KiB
C++
35 lines
1.0 KiB
C++
//===-- AVRTargetObjectFile.h - AVR 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_AVR_TARGET_OBJECT_FILE_H
|
|
#define LLVM_AVR_TARGET_OBJECT_FILE_H
|
|
|
|
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
|
|
|
|
namespace llvm {
|
|
|
|
/// Lowering for an AVR ELF32 object file.
|
|
class AVRTargetObjectFile : public TargetLoweringObjectFileELF {
|
|
typedef TargetLoweringObjectFileELF Base;
|
|
|
|
public:
|
|
void Initialize(MCContext &ctx, const TargetMachine &TM) override;
|
|
|
|
MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
|
Mangler &Mang,
|
|
const TargetMachine &TM) const override;
|
|
|
|
private:
|
|
MCSection *ProgmemDataSection;
|
|
};
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif // LLVM_AVR_TARGET_OBJECT_FILE_H
|