Create a new macro for suppressing TSAN errors

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • None
    • DevProd Build
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      To suppress the TSAN sanitizer today is quite wordy:

      #if defined(__has_feature)
      #if __has_feature(thread_sanitizer)
          __attribute__((no_sanitize("thread")))
      #endif
      #endif
      

      Instead, if we had a macro, such asĀ MONGO_NO_TSAN it would make this easier for future uses.

            Assignee:
            Unassigned
            Reporter:
            Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: