Closed
Bug 940299
Opened 11 years ago
Closed 11 years ago
Add a runtime suppression file for ThreadSanitizer
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla28
People
(Reporter: decoder, Assigned: decoder)
References
(Blocks 1 open bug)
Details
(Keywords: sec-want, Whiteboard: [tsan])
Attachments
(1 file)
778 bytes,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
ThreadSanitizer does not only support compile-time blacklisting but also a runtime suppression list. That list is more expensive to use, but in some cases it's the better (and only) way to properly suppress a bug still being fixed or false positive.
I'll attach a patch in a few that adds the file at build/sanitizers/tsan_suppressions.txt and includes all suppressions for bugs that are already on file, including their bug numbers.
Assignee | ||
Comment 1•11 years ago
|
||
Glandium, I initially discussed this with ted, but he seems to be swamped with review requests. Can you review this simple thing? It's just a file being added to the tree for TSan.
Attachment #8334449 -
Flags: review?(mh+mozilla)
Comment 2•11 years ago
|
||
Comment on attachment 8334449 [details] [diff] [review]
tsan-supp.patch
Review of attachment 8334449 [details] [diff] [review]:
-----------------------------------------------------------------
What's supposed to happen to this file?
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #2)
>
> What's supposed to happen to this file?
The file is used at runtime by setting TSAN_OPTIONS="suppressions=...". It's a runtime suppression file just like Valgrind suppressions (see also http://code.google.com/p/thread-sanitizer/wiki/Suppressions ).
Right now, this is supposed to be used manually when running TSan, to suppress all the bugs we have on file already (and false positives), so we can get TSan usable. In the future, this file might be used as well in automation when running our tests, but that's a different bug then.
Comment 4•11 years ago
|
||
Comment on attachment 8334449 [details] [diff] [review]
tsan-supp.patch
Review of attachment 8334449 [details] [diff] [review]:
-----------------------------------------------------------------
What's supposed to happen to this file?
Attachment #8334449 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Status: NEW → ASSIGNED
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•