From: Alexey Samsonov Date: Sat, 31 May 2014 00:26:03 +0000 (+0000) Subject: [TSan] Fixup a test case after r209939 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=014f9fd863d1db1dbe40efa5549c76f5017164d3;p=oota-llvm.git [TSan] Fixup a test case after r209939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209945 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Instrumentation/ThreadSanitizer/tsan_basic.ll b/test/Instrumentation/ThreadSanitizer/tsan_basic.ll index d449a97a62a..dc6e43e3ecb 100644 --- a/test/Instrumentation/ThreadSanitizer/tsan_basic.ll +++ b/test/Instrumentation/ThreadSanitizer/tsan_basic.ll @@ -27,7 +27,7 @@ declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) ; Check that tsan converts mem intrinsics back to function calls. -define void @MemCpyTest(i8* nocapture %x, i8* nocapture %y) { +define void @MemCpyTest(i8* nocapture %x, i8* nocapture %y) sanitize_thread { entry: tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %x, i8* %y, i64 16, i32 4, i1 false) ret void @@ -36,7 +36,7 @@ entry: ; CHECK: ret void } -define void @MemMoveTest(i8* nocapture %x, i8* nocapture %y) { +define void @MemMoveTest(i8* nocapture %x, i8* nocapture %y) sanitize_thread { entry: tail call void @llvm.memmove.p0i8.p0i8.i64(i8* %x, i8* %y, i64 16, i32 4, i1 false) ret void @@ -45,7 +45,7 @@ entry: ; CHECK: ret void } -define void @MemSetTest(i8* nocapture %x) { +define void @MemSetTest(i8* nocapture %x) sanitize_thread { entry: tail call void @llvm.memset.p0i8.i64(i8* %x, i8 77, i64 16, i32 4, i1 false) ret void