This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Allow memmove interceptor to be used when TSan is not initialized
ClosedPublic

Authored by kubamracek on Nov 5 2015, 2:50 AM.

Details

Summary

A call to memmove is used early during new thread initialization on OS X. This patch uses the COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED check, similarly to how we deal with other early-used interceptors.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 39335.Nov 5 2015, 2:50 AM
kubamracek retitled this revision from to [tsan] Allow memmove interceptor to be used when TSan is not initialized.
kubamracek updated this object.
kubamracek added reviewers: samsonov, kcc, dvyukov, glider.
dvyukov accepted this revision.Nov 5 2015, 2:56 AM
dvyukov edited edge metadata.
This revision is now accepted and ready to land.Nov 5 2015, 2:56 AM
This revision was automatically updated to reflect the committed changes.