This is an archive of the discontinued LLVM Phabricator instance.

[asan] Move memcpy, memmove, memset code out of asan_interceptors.cc
ClosedPublic

Authored by mcgrathr on Jul 18 2017, 4:48 PM.

Details

Summary

This is a pure refactoring change. It simply moves all the code and
macros related to defining the ASan interceptor versions of memcpy,
memmove, and memset into a separate file. This makes it cleaner to
disable all the other interceptor code while still using these three,
for a port that defines these but not the other common interceptors.

Diff Detail

Repository
rL LLVM

Event Timeline

mcgrathr created this revision.Jul 18 2017, 4:48 PM
alekseyshl accepted this revision.Jul 19 2017, 10:02 AM

Can we rename them to asan_interceptors_memintrinsics.cc/.h? Other than that, lgtm.

This revision is now accepted and ready to land.Jul 19 2017, 10:02 AM
mcgrathr updated this revision to Diff 107352.Jul 19 2017, 11:55 AM

Renamed new files.

Can you land it for me?

Thanks,
Roland

This revision was automatically updated to reflect the committed changes.