change AsmPrinter to switch sections using AsmStreamer instead of
[oota-llvm.git] / include / llvm / MC / MCStreamer.h
index b8399d0115a805d7af390b329cd7051ba4ff81f2..48096c708ace1eba152dc12cd0cdf2b932c9fc45 100644 (file)
@@ -81,7 +81,7 @@ namespace llvm {
     /// @param Section.
     ///
     /// This corresponds to assembler directives like .section, .text, etc.
-    virtual void SwitchSection(MCSection *Section) = 0;
+    virtual void SwitchSection(const MCSection *Section) = 0;
 
     /// EmitLabel - Emit a label for @param Symbol into the current section.
     ///