summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-08-15 18:56:54 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-08-15 18:56:54 +0000
commitedfed3deeb006b1f599498b0aed3be1dec1640f2 (patch)
treed27daabdabdbd400236cc1d83da2e9a08b6b7cb6 /compiler-rt
parent6866b82a059b7469a25110bc4c4fb98b1d001b34 (diff)
downloadbcm5719-llvm-edfed3deeb006b1f599498b0aed3be1dec1640f2.tar.gz
bcm5719-llvm-edfed3deeb006b1f599498b0aed3be1dec1640f2.zip
[msan] Correct @LINE expression in obstack.cc
Summary: [[@LINE-30]] only worked because the resulting 3 matches the first character of 30. With the additional blank lines the resulting 5 no longer matches 30. Reviewers: eugenis Subscribers: eugenis, llvm-commits Differential Revision: https://reviews.llvm.org/D23515 llvm-svn: 278715
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/test/msan/Linux/obstack.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/test/msan/Linux/obstack.cc b/compiler-rt/test/msan/Linux/obstack.cc
index 598b85d5eaa..f5b4fc303c3 100644
--- a/compiler-rt/test/msan/Linux/obstack.cc
+++ b/compiler-rt/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 @@ int main(void) {
__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);
OpenPOWER on IntegriCloud