This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Add interceptor for xpc_connection_cancel to avoid false positives
ClosedPublic

Authored by kubamracek on Mar 29 2017, 11:50 AM.

Details

Summary

TSan reports a false positive when using xpc_connection_cancel. We're missing a happens-before edge from xpc_connection_cancel to the event handler on the same connection.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek created this revision.Mar 29 2017, 11:50 AM
dvyukov accepted this revision.Mar 30 2017, 5:24 AM
This revision is now accepted and ready to land.Mar 30 2017, 5:24 AM
This revision was automatically updated to reflect the committed changes.