Add support for subsections to the ELF assembler. Fixes PR8717.
[oota-llvm.git] / lib / Target / NVPTX / NVPTXSection.h
index e166be5a68e4be7680e47eb4e7b547d848ecfa55..e57ace92e850f9c434e35a58feca939ba2e54b7f 100644 (file)
@@ -32,7 +32,8 @@ public:
   /// Override this as NVPTX has its own way of printing switching
   /// to a section.
   virtual void PrintSwitchToSection(const MCAsmInfo &MAI,
-                                    raw_ostream &OS) const {}
+                                    raw_ostream &OS,
+                                    const MCExpr *Subsection) const {}
 
   /// Base address of PTX sections is zero.
   virtual bool isBaseAddressKnownZero() const { return true; }