Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / include / llvm / MC / MCAsmInfo.h
index 9bb0fa63c523f6a2d693fcad458e8dc264d2c348..384584ef4ef0e06ee984c50951e9a2bdfa0aec6b 100644 (file)
@@ -414,6 +414,15 @@ public:
   /// syntactically correct.
   virtual bool isValidUnquotedName(StringRef Name) const;
 
+  /// Return true if the .section directive should be omitted when
+  /// emitting \p SectionName.  For example:
+  ///
+  /// shouldOmitSectionDirective(".text")
+  ///
+  /// returns false => .section .text,#alloc,#execinstr
+  /// returns true  => .text
+  virtual bool shouldOmitSectionDirective(StringRef SectionName) const;
+
   bool usesSunStyleELFSectionSwitchSyntax() const {
     return SunStyleELFSectionSwitchSyntax;
   }