Closed Bug 940299 Opened 11 years ago Closed 11 years ago

Add a runtime suppression file for ThreadSanitizer

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

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)

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.
Attached patch tsan-supp.patchSplinter Review
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 on attachment 8334449 [details] [diff] [review] tsan-supp.patch Review of attachment 8334449 [details] [diff] [review]: ----------------------------------------------------------------- What's supposed to happen to this file?
(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 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+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: