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

Investigate using Sanitizer special case list for suppressions

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Correctness
    • Fully Compatible
    • 2024-08-20, 2024-09-17, 2024-10-01
    • 200

      Today, we suppress certain sanitizer reports using runtime suppression files like etc/tsan.suppressions.

      The LLVM sanitizer tools also offer a way to provide a special file at compile-time to disable or alter the sanitizers' behavior for source code known at compile time. Avoiding the instrumentation for libraries we know we don't want to look at sanitizer reports on (for example, TSAN for WiredTiger) at compile time could potentially speed up our sanitizer builds significantly. It could also reduce issues with the history-tracking of the sanitizers using so many resources. We could also use it to potentially stop reporting leaks in third-party libraries we don't want to sanitize ourselves.

      Information on the compile-time special case list is here: https://clang.llvm.org/docs/SanitizerSpecialCaseList.html

            Assignee:
            juan.gu@mongodb.com Juan Gu
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: