ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Trivial - P5
    • WT12.0.0, 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Concurrency
    • None
    • Storage Engines - Foundations
    • 450.269
    • None
    • None

      src/include/tsan_suppress.h contains helpers with no callers:

      • __wt_tsan_suppress_store_uint8_v
      • __wt_tsan_suppress_load_size
      • __wt_tsan_suppress_load_pointer
      • __wt_tsan_suppress_load_wt_insert_ptr
      • __wt_tsan_suppress_store_wt_addr_ptr

      Remove these redundant helpers.

      Extend the existing dist/s_funcs input list to include src/include/tsan_suppress.h. Reuse the existing unused-function check so s_all and s_fast report any future suppression helper that has no repository call site. No new checker is needed.

      Acceptance criteria:

      • All five unused helpers are removed.
      • dist/s_fast passes.
      • Adding an unreferenced helper to tsan_suppress.h causes s_funcs to report it.
      • No behavioral changes.

            Assignee:
            Ivan Kochin
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: