Remove useless .debug_macinfo section setup.
[oota-llvm.git] / lib / Target / NVPTX / NVPTXTargetObjectFile.h
index c9b091e1c69c319736ca213a619a1dc0eaa92797..5d9ab0d511fe74982af0f65e9cd9260ec2395ca8 100644 (file)
@@ -41,7 +41,6 @@ public:
     DwarfLocSection = nullptr;
     DwarfARangesSection = nullptr;
     DwarfRangesSection = nullptr;
-    DwarfMacroInfoSection = nullptr;
   }
 
   virtual ~NVPTXTargetObjectFile();
@@ -83,8 +82,6 @@ public:
         new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
     DwarfRangesSection =
         new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
-    DwarfMacroInfoSection =
-        new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata());
   }
 
   const MCSection *getSectionForConstant(SectionKind Kind,
@@ -98,6 +95,9 @@ public:
     return DataSection;
   }
 
+  const MCSection *
+  SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang,
+                         const TargetMachine &TM) const override;
 };
 
 } // end namespace llvm