[PATCH] D14638: [tsan] Expect memmove interceptor to be called from memcpy
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 12:44:15 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL253077: [tsan] Expect memmove interceptor to be called from memcpy (authored by kuba.brecka).
Changed prior to commit:
http://reviews.llvm.org/D14638?vs=40118&id=40170#toc
Repository:
rL LLVM
http://reviews.llvm.org/D14638
Files:
compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc
compiler-rt/trunk/test/tsan/memcmp_race.cc
compiler-rt/trunk/test/tsan/memcpy_race.cc
Index: compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc
===================================================================
--- compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc
+++ compiler-rt/trunk/test/tsan/inlined_memcpy_race.cc
@@ -32,6 +32,6 @@
// CHECK: #0 memset
// CHECK: #1 MemSetThread
// CHECK: Previous write
-// CHECK: #0 memcpy
+// CHECK: #0 {{(memcpy|memmove)}}
// CHECK: #1 MemCpyThread
Index: compiler-rt/trunk/test/tsan/memcpy_race.cc
===================================================================
--- compiler-rt/trunk/test/tsan/memcpy_race.cc
+++ compiler-rt/trunk/test/tsan/memcpy_race.cc
@@ -34,8 +34,8 @@
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
// CHECK: WARNING: ThreadSanitizer: data race
// CHECK: Write of size 1 at [[ADDR]] by thread T2:
-// CHECK: #0 memcpy
+// CHECK: #0 {{(memcpy|memmove)}}
// CHECK: #1 Thread2
// CHECK: Previous write of size 1 at [[ADDR]] by thread T1:
-// CHECK: #0 memcpy
+// CHECK: #0 {{(memcpy|memmove)}}
// CHECK: #1 Thread1
Index: compiler-rt/trunk/test/tsan/memcmp_race.cc
===================================================================
--- compiler-rt/trunk/test/tsan/memcmp_race.cc
+++ compiler-rt/trunk/test/tsan/memcmp_race.cc
@@ -35,7 +35,7 @@
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
// CHECK: WARNING: ThreadSanitizer: data race
// CHECK: Write of size 1 at [[ADDR]] by thread T2:
-// CHECK: #0 memcpy
+// CHECK: #0 {{(memcpy|memmove)}}
// CHECK: #1 Thread2
// CHECK: Previous read of size 1 at [[ADDR]] by thread T1:
// CHECK: #0 memcmp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14638.40170.patch
Type: text/x-patch
Size: 1586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151113/06d75a01/attachment.bin>
More information about the llvm-commits
mailing list