LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NVPTXTargetObjectFile.h
Go to the documentation of this file.
1 //===-- NVPTXTargetObjectFile.h - NVPTX Object Info -------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_TARGET_NVPTX_TARGETOBJECTFILE_H
11 #define LLVM_TARGET_NVPTX_TARGETOBJECTFILE_H
12 
13 #include "NVPTXSection.h"
15 #include <string>
16 
17 namespace llvm {
18 class GlobalVariable;
19 class Module;
20 
22 
23 public:
25  TextSection = 0;
26  DataSection = 0;
27  BSSSection = 0;
28  ReadOnlySection = 0;
29 
32  LSDASection = 0;
33  EHFrameSection = 0;
35  DwarfInfoSection = 0;
36  DwarfLineSection = 0;
40  DwarfStrSection = 0;
41  DwarfLocSection = 0;
45  }
46 
47  virtual ~NVPTXTargetObjectFile();
48 
49  virtual void Initialize(MCContext &ctx, const TargetMachine &TM) {
52  DataSection =
57 
62  LSDASection =
88  }
89 
91  return ReadOnlySection;
92  }
93 
94  virtual const MCSection *
96  Mangler *Mang, const TargetMachine &TM) const {
97  return DataSection;
98  }
99 
100 };
101 
102 } // end namespace llvm
103 
104 #endif
const MCSection * DwarfARangesSection
const MCSection * DwarfFrameSection
const MCSection * StaticDtorSection
static SectionKind getDataRel()
Definition: SectionKind.h:229
const MCSection * DwarfStrSection
const MCSection * DwarfInfoSection
const MCSection * DwarfAbbrevSection
static SectionKind getBSS()
Definition: SectionKind.h:225
const MCSection * DwarfLocSection
virtual void Initialize(MCContext &ctx, const TargetMachine &TM)
virtual const MCSection * getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine &TM) const
const MCSection * DwarfDebugInlineSection
const MCSection * DwarfMacroInfoSection
const MCSection * DwarfLineSection
const MCSection * BSSSection
BSSSection - Section that is default initialized to zero.
const MCSection * TextSection
virtual void Initialize(MCContext &ctx, const TargetMachine &TM)
const MCSection * DwarfPubTypesSection
virtual const MCSection * getSectionForConstant(SectionKind Kind) const
const MCSection * LSDASection
static SectionKind getMetadata()
Definition: SectionKind.h:207
const MCSection * ReadOnlySection
const MCSection * EHFrameSection
const MCSection * StaticCtorSection
const MCSection * DataSection
static SectionKind getReadOnly()
Definition: SectionKind.h:209
const MCSection * DwarfRangesSection
static SectionKind getText()
Definition: SectionKind.h:208