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

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.

Reviewers: reames

Reviewed By: reames

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308248 91177308-0d34-0410-b5e6-96231b3b80d8
test/Instrumentation/AddressSanitizer/basic.ll