[PATCH] [Msan] Fix the report-demangling.cc test to pass on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Thu May 7 05:25:23 PDT 2015


Hi kcc, samsonov, eugenis,

The good old () vs (void) issue.

http://reviews.llvm.org/D9554

Files:
  test/msan/report-demangling.cc

Index: test/msan/report-demangling.cc
===================================================================
--- test/msan/report-demangling.cc
+++ test/msan/report-demangling.cc
@@ -15,5 +15,5 @@
   return f();
   // CHECK: WARNING: MemorySanitizer: use-of-uninitialized-value
   // CHECK: Uninitialized value was created by an allocation of 'x' in the stack frame of function '_Z1fv'
-  // CHECK: #0 {{.*}} in f() {{.*}}report-demangling.cc:[[@LINE-10]]
+  // CHECK: #0 {{.*}} in f{{.*}} {{.*}}report-demangling.cc:[[@LINE-10]]
 }

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9554.25166.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150507/c8c3063d/attachment.bin>


More information about the llvm-commits mailing list