]> granicus.if.org Git - llvm/commit
Add element-atomic mem intrinsic canary tests for Efficiency Sanitizer.
authorDaniel Neilson <dneilson@azul.com>
Tue, 18 Jul 2017 01:06:53 +0000 (01:06 +0000)
committerDaniel Neilson <dneilson@azul.com>
Tue, 18 Jul 2017 01:06:53 +0000 (01:06 +0000)
commitb75041b42ac6b60e6bc5ed07aec07fe654d00ebb
tree8636038ae356355cb284e6701fdb7034b20009f0
parent354fdcfc2a8ffcc3ea3c1129c30115bbe2f5f790
Add element-atomic mem intrinsic canary tests for Efficiency Sanitizer.

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.

Reviewers: reames

Reviewed By: reames

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D35508

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308250 91177308-0d34-0410-b5e6-96231b3b80d8
test/Instrumentation/EfficiencySanitizer/working_set_basic.ll
test/Instrumentation/EfficiencySanitizer/working_set_slow.ll