Reputation: 1775
Is there a difference between ThreadSanitizer suppression files and blacklist files? -- when used by the llvm-specific compiler flag of -fsanitize-blacklist=
When should I use one over the other?
Upvotes: 3
Views: 877
Reputation: 133
ASFAIK blacklisted code doesn't get tsan instrumentation at all, while suppressed code is a runtime thing so the supressed code still get monitored by tsan but simply not reported, so that a report won't get polluted by known races.
This can make a performance difference.
Upvotes: 0