This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Add interceptor for libcxx __shared_count::__release_shared()
ClosedPublic

Authored by kubamracek on Dec 14 2016, 9:56 PM.

Details

Summary

We already have an interceptor for __shared_weak_count::__release_shared, this patch handles __shared_count::__release_shared in the same way. This should get rid of TSan false positives when using std::future.

Diff Detail

Event Timeline

kubamracek updated this revision to Diff 81533.Dec 14 2016, 9:56 PM
kubamracek retitled this revision from to [tsan] Add interceptor for libcxx __shared_count::__release_shared().
kubamracek updated this object.
kubamracek added a reviewer: dvyukov.
kubamracek set the repository for this revision to rL LLVM.
kubamracek added a project: Restricted Project.
kubamracek added subscribers: zaks.anna, llvm-commits.
kubamracek updated this object.Dec 14 2016, 9:57 PM
kubamracek edited edge metadata.
dvyukov accepted this revision.Dec 15 2016, 1:36 AM
dvyukov edited edge metadata.
This revision is now accepted and ready to land.Dec 15 2016, 1:36 AM
This revision was automatically updated to reflect the committed changes.