[PATCH] D30975: [msan] Relaex lit check in wcsncpy.cc

Eric Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 04:33:42 PDT 2017


ioeric created this revision.

The CHECK failed when the name is __interceptor_wcsncpy


https://reviews.llvm.org/D30975

Files:
  test/msan/wcsncpy.cc


Index: test/msan/wcsncpy.cc
===================================================================
--- test/msan/wcsncpy.cc
+++ test/msan/wcsncpy.cc
@@ -30,7 +30,7 @@
 // CHECK:    in main {{.*}}wcsncpy.cc:26
 
 // CHECK:  Uninitialized value was stored to memory at
-// CHECK:    in wcsncpy
+// CHECK:    in {{[^\s]*}}wcsncpy
 // CHECK:    in main {{.*}}wcsncpy.cc:25
 
 // CHECK:  Memory was marked as uninitialized


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30975.91854.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170315/b310901d/attachment.bin>


More information about the llvm-commits mailing list