MC: Add TargetAsmBackend::isVirtualSection hook.
[oota-llvm.git] / include / llvm / Target / TargetAsmBackend.h
index cada3e4479f0744ad3e8d06d5901dfbf561c8a3d..97b1d6024e1b669eba2b195b73d18d2eee61fee7 100644 (file)
@@ -80,6 +80,10 @@ public:
     return false;
   }
 
+  /// isVirtualSection - Check whether the given section is "virtual", that is
+  /// has no actual object file contents.
+  virtual bool isVirtualSection(const MCSection &Section) const = 0;
+
   /// ApplyFixup - Apply the \arg Value for given \arg Fixup into the provided
   /// data fragment, at the offset specified by the fixup and following the
   /// fixup kind as appropriate.