Add support for subsections to the ELF assembler. Fixes PR8717.
[oota-llvm.git] / include / llvm / MC / MCSection.h
index e5754249e91b5445a0d6c67ae929ff99b05847f2..de2678adad61c19bd793495e3d2c90ce9c92d1ed 100644 (file)
@@ -20,6 +20,7 @@
 
 namespace llvm {
   class MCAsmInfo;
+  class MCExpr;
   class raw_ostream;
 
   /// MCSection - Instances of this class represent a uniqued identifier for a
@@ -48,7 +49,8 @@ namespace llvm {
     SectionVariant getVariant() const { return Variant; }
 
     virtual void PrintSwitchToSection(const MCAsmInfo &MAI,
-                                      raw_ostream &OS) const = 0;
+                                      raw_ostream &OS,
+                                      const MCExpr *Subsection) const = 0;
 
     // Convenience routines to get label names for the beginning/end of a
     // section.