Reimplement debug info compression by compressing the whole section, rather than...
[oota-llvm.git] / include / llvm / MC / MCSectionELF.h
index 89c02cce1d773ad36a1b352deed1fd22e2d375b6..c161c8bf4bf6516542962b8d0f5f7af58484b3b5 100644 (file)
@@ -53,6 +53,8 @@ private:
     : MCSection(SV_ELF, K), SectionName(Section), Type(type), Flags(flags),
       EntrySize(entrySize), Group(group) {}
   ~MCSectionELF();
+
+  void setSectionName(StringRef Name) { SectionName = Name; }
 public:
 
   /// ShouldOmitSectionDirective - Decides whether a '.section' directive