This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

Add canary tests to verify that ASAN 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 ASAN 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:03 PM
reames accepted this revision.Jul 17 2017, 2:05 PM

LGTM

This revision is now accepted and ready to land.Jul 17 2017, 2:05 PM
This revision was automatically updated to reflect the committed changes.