So I am using ThreadSanitizer, and I find myself cleaning up data races that don't matter, in order to keep the output clean. (For example, an atomic set of a flag, where another thread reads that flag word, but doesn't care about that flag). On the one hand,
-
-
Haven't done it yet, just wondering if people with experience in this can let me know of things to watch out for. Silencing things can be scary if you silence the wrong things!
-
I prefer compile time func annotation with: __attribute__((no_sanitize("thread"))) in own code because it is least likely to cause suppression in an unexpected context: ie: diff func with same name; also avoids runtime misconfig causing false reports.
- Još 2 druga odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.