[SERVER-26300] Allow building with both sanitizers and tcmalloc, when allowed Created: 23/Sep/16  Updated: 25/Feb/19  Resolved: 25/Feb/19

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.1.9

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Henrik Edin
Resolution: Done Votes: 0
Labels: platforms-re-triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-02-25
Participants:
Linked BF Score: 17

 Description   

We currently disallow building with TCMalloc if any Clang sanitizer is enabled. This is overly restrictive: only AddressSanitizer (and potentially MemorySanitizer) conflicts with TMCalloc. It should be fine to use UBSAN, for instance. We should make the restriction more selective.



 Comments   
Comment by Githook User [ 25/Feb/19 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-26300 Allow tcmalloc to be used with TSAN and UBSAN.
Branch: master
https://github.com/mongodb/mongo/commit/a133891a93a7d311f4c1d542f86622739dcc183a

Generated at Thu Feb 08 04:11:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.