[PATCH] [mips][microMIPS] Mark symbols as microMIPS if necessary

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Fri Oct 31 09:17:42 PDT 2014


================
Comment at: include/llvm/MC/MCStreamer.h:349
@@ -348,3 +348,3 @@
   /// This corresponds to assembler directives like .section, .text, etc.
-  void SwitchSection(const MCSection *Section,
-                     const MCExpr *Subsection = nullptr) {
+  virtual void SwitchSection(const MCSection *Section,
+                             const MCExpr *Subsection = nullptr) {
----------------
can't you use the already virtual ChangeSection?

http://reviews.llvm.org/D6039






More information about the llvm-commits mailing list