This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Add a test for "external" API that checks the dup suppression is based on the caller PC
ClosedPublic

Authored by kubamracek on Apr 5 2017, 4:25 PM.

Details

Summary

We need to make sure that the "external" API isn't dup'ing all data races into a single one (because the stack might look the same) and suppressing all external races. This works now, so just adding a test for that.

Diff Detail

Event Timeline

kubamracek created this revision.Apr 5 2017, 4:25 PM
dvyukov accepted this revision.Apr 21 2017, 4:45 AM
This revision is now accepted and ready to land.Apr 21 2017, 4:45 AM
This revision was automatically updated to reflect the committed changes.