LLVM  10.0.0svn
AVRTargetObjectFile.h
Go to the documentation of this file.
1 //===-- AVRTargetObjectFile.h - AVR Object Info -----------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_AVR_TARGET_OBJECT_FILE_H
10 #define LLVM_AVR_TARGET_OBJECT_FILE_H
11 
13 
14 namespace llvm {
15 
16 /// Lowering for an AVR ELF32 object file.
19 
20 public:
21  void Initialize(MCContext &ctx, const TargetMachine &TM) override;
22 
24  const TargetMachine &TM) const override;
25 
26 private:
27  MCSection *ProgmemDataSection;
28 };
29 
30 } // end namespace llvm
31 
32 #endif // LLVM_AVR_TARGET_OBJECT_FILE_H
Instances of this class represent a uniqued identifier for a section in the current translation unit...
Definition: MCSection.h:38
This class represents lattice values for constants.
Definition: AllocatorList.h:23
MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
Context object for machine code objects.
Definition: MCContext.h:65
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition: SectionKind.h:22
Primary interface to the complete machine description for the target machine.
Definition: TargetMachine.h:65
Lowering for an AVR ELF32 object file.
void Initialize(MCContext &ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.