This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Expect memmove interceptor to be called from memcpy
ClosedPublic

Authored by kubamracek on Nov 13 2015, 1:56 AM.

Details

Summary

On OS X, memcpy and memmove are actually aliases of the same function, so the memmove interceptor can be invoked on a call to memcpy. This patch updates the tests to expect either memmove or memcpy on a stack trace.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 40118.Nov 13 2015, 1:56 AM
kubamracek retitled this revision from to [tsan] Expect memmove interceptor to be called from memcpy.
kubamracek updated this object.
kubamracek added reviewers: dvyukov, kcc, samsonov, glider.
dvyukov accepted this revision.Nov 13 2015, 9:23 AM
dvyukov edited edge metadata.
This revision is now accepted and ready to land.Nov 13 2015, 9:23 AM
This revision was automatically updated to reflect the committed changes.