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

Create a new macro for suppressing TSAN errors

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Usability
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-devplatform Backlog - Server Development Platform Team (SDP)
              Reporter:
              gregory.wlodarek Gregory Wlodarek
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: