Revert "DebugInfo: Move type units into the debug_types section with appropriate...
[oota-llvm.git] / include / llvm / MC / MCSectionELF.h
index 139adbf45c04765cbdda87f548ef3701bb54bc40..59799158ad3c6d4a2b70ed649f8712a259e4b805 100644 (file)
@@ -16,7 +16,6 @@
 
 #include "llvm/ADT/StringRef.h"
 #include "llvm/MC/MCSection.h"
-#include "llvm/MC/MCSymbol.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/ELF.h"
 #include "llvm/Support/raw_ostream.h"
@@ -61,13 +60,8 @@ public:
 
   StringRef getSectionName() const { return SectionName; }
   virtual std::string getLabelBeginName() const {
-    if (Group)
-      return (SectionName.str() + '_' + Group->getName() + "_begin").str();
-    return SectionName.str() + "_begin";
-  }
+    return SectionName.str() + "_begin"; }
   virtual std::string getLabelEndName() const {
-    if (Group)
-      return (SectionName.str() + '_' + Group->getName() + "_end").str();
     return SectionName.str() + "_end";
   }
   unsigned getType() const { return Type; }