This is an archive of the discontinued LLVM Phabricator instance.

[TSan] Initialize libdispatch interceptors if necessary
ClosedPublic

Authored by yln on Mar 7 2019, 2:53 PM.

Details

Summary

On Linux (and other non-Darwin platforms) we need to initialize interceptors.
Since tsan_libdispatch.cc is compiled optionally, add a weak default implementation of InitializeLibdispatchInterceptors.

Diff Detail

Event Timeline

yln created this revision.Mar 7 2019, 2:53 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 7 2019, 2:53 PM
Herald added subscribers: llvm-commits, Restricted Project, kubamracek. · View Herald Transcript
yln edited the summary of this revision. (Show Details)Mar 7 2019, 3:32 PM
dvyukov accepted this revision.Mar 7 2019, 10:05 PM
This revision is now accepted and ready to land.Mar 7 2019, 10:05 PM
This revision was automatically updated to reflect the committed changes.