Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51053

Create a new macro for suppressing TSAN errors

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

      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 Unassigned
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: