We never emit info into the macro info section, stop emitting an
authorEric Christopher <echristo@gmail.com>
Tue, 10 Dec 2013 00:26:10 +0000 (00:26 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 10 Dec 2013 00:26:10 +0000 (00:26 +0000)
empty one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196849 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h

index e099acdc5a6073f0afb9fd96535d3910602ece07..a036a4d6f2841546d947eeaa018b99ddffb0b77f 100644 (file)
@@ -1180,9 +1180,6 @@ void DwarfDebug::endModule() {
   // Emit info into a debug ranges section.
   emitDebugRanges();
 
-  // Emit info into a debug macinfo section.
-  emitDebugMacInfo();
-
   if (useSplitDwarf()) {
     emitDebugStrDWO();
     emitDebugInfoDWO();
@@ -2941,15 +2938,6 @@ void DwarfDebug::emitDebugRanges() {
   }
 }
 
-// Emit visible names into a debug macinfo section.
-void DwarfDebug::emitDebugMacInfo() {
-  if (const MCSection *LineInfo =
-          Asm->getObjFileLowering().getDwarfMacroInfoSection()) {
-    // Start the dwarf macinfo section.
-    Asm->OutStreamer.SwitchSection(LineInfo);
-  }
-}
-
 // DWARF5 Experimental Separate Dwarf emitters.
 
 // This DIE has the following attributes: DW_AT_comp_dir, DW_AT_stmt_list,
index 88a1d4e3700a23434ff5d90b8b667ad2f964559a..2eda0e883eecdac27f5006973bde1cb4440a2d5f 100644 (file)
@@ -587,9 +587,6 @@ class DwarfDebug : public AsmPrinterHandler {
   /// \brief Emit visible names into a debug ranges section.
   void emitDebugRanges();
 
-  /// \brief Emit visible names into a debug macinfo section.
-  void emitDebugMacInfo();
-
   /// \brief Emit inline info using custom format.
   void emitDebugInlineInfo();