OSDN Git Service

Add element-atomic mem intrinsic canary tests for Memory Sanitizer.
authorDaniel Neilson <dneilson@azul.com>
Tue, 18 Jul 2017 01:06:54 +0000 (01:06 +0000)
committerDaniel Neilson <dneilson@azul.com>
Tue, 18 Jul 2017 01:06:54 +0000 (01:06 +0000)
commit8784fb82deb6782dd8eaf2adc448aae2a4d3048a
tree5e3c3b0f988651f5dde9e1b9097667d228612ee0
parentb75041b42ac6b60e6bc5ed07aec07fe654d00ebb
Add element-atomic mem intrinsic canary tests for Memory Sanitizer.

Summary:
Add canary tests to verify that MSAN 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 MSAN 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/D35510

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308251 91177308-0d34-0410-b5e6-96231b3b80d8
test/Instrumentation/MemorySanitizer/msan_basic.ll