This is an archive of the discontinued LLVM Phabricator instance.

Add element-atomic mem intrinsic canary tests for Efficiency Sanitizer.
ClosedPublic

Authored by dneilson on Jul 17 2017, 2:16 PM.

Details

Summary

Add canary tests to verify that ESAN currently does nothing with the element atomic memory intrinsics for memcpy, memmove, and memset.

Placeholder tests that will fail once element atomic @llvm.mem[cpy|move|set] instrinsics have been added to the MemIntrinsic class hierarchy. These will act as a reminder to verify that ESAN handles these intrinsics properly once they have been added to that class hierarchy.

Diff Detail

Repository
rL LLVM

Event Timeline

dneilson created this revision.Jul 17 2017, 2:16 PM
reames accepted this revision.Jul 17 2017, 2:18 PM
This revision is now accepted and ready to land.Jul 17 2017, 2:18 PM
This revision was automatically updated to reflect the committed changes.