[SERVER-51053] Create a new macro for suppressing TSAN errors Created: 18/Sep/20  Updated: 02/Feb/24

Status: Backlog
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-49956 Race over wiredTigerGlobalOptions.che... Closed
related to SERVER-50924 Suppress TSAN for LockerImpl::getLock... Closed
Assigned Teams:
Build
Participants:

 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.


Generated at Thu Feb 08 05:24:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.