[PATCH] D23515: [msan] Correct @LINE expression in obstack.cc
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 09:00:45 PDT 2016
dsanders created this revision.
dsanders added a subscriber: llvm-commits.
https://reviews.llvm.org/D23515
Files:
test/msan/Linux/obstack.cc
Index: test/msan/Linux/obstack.cc
===================================================================
--- test/msan/Linux/obstack.cc
+++ test/msan/Linux/obstack.cc
@@ -1,6 +1,8 @@
// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
// RUN: %clangxx_msan -O0 -g -DPOSITIVE %s -o %t && not %run %t |& FileCheck %s
+
// XFAIL: target-is-mips64el
+
#include <obstack.h>
#include <sanitizer/msan_interface.h>
#include <stdlib.h>
@@ -30,7 +32,7 @@
__msan_check_mem_is_initialized(p, sizeof(data) + 1);
}
// CHECK: WARNING: MemorySanitizer: use-of-uninitialized-value
- // CHECK: #0 0x{{.*}} in main{{.*}}obstack.cc:[[@LINE-30]]
+ // CHECK: #0 0x{{.*}} in main{{.*}}obstack.cc:[[@LINE-3]]
#endif
}
obstack_free(&obs, 0);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23515.68043.patch
Type: text/x-patch
Size: 747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160815/6eb1514a/attachment.bin>
More information about the llvm-commits
mailing list