From a6b279546df6b384553ab1d04ae98c14c8bc77d5 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 22 Jan 2015 09:27:00 +0000 Subject: [PATCH] [msan] Relax CHECK conditions in 2 tests. Sometimes malloc/realloc/etc are symbolized as __interceptor_malloc/realloc/etc. llvm-svn: 226803 --- compiler-rt/test/msan/realloc-large-origin.cc | 4 ++-- compiler-rt/test/msan/realloc-origin.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler-rt/test/msan/realloc-large-origin.cc b/compiler-rt/test/msan/realloc-large-origin.cc index 349e152..de39394 100644 --- a/compiler-rt/test/msan/realloc-large-origin.cc +++ b/compiler-rt/test/msan/realloc-large-origin.cc @@ -21,10 +21,10 @@ int main(int argc, char **argv) { // CHECK: {{#0 0x.* in main .*realloc-large-origin.cc:}}[[@LINE-3]] // CHECK: Uninitialized value was stored to memory at -// CHECK: {{#0 0x.* in realloc}} +// CHECK: {{#0 0x.* in .*realloc}} // CHECK: {{#1 0x.* in main .*realloc-large-origin.cc:}}[[@LINE-10]] // CHECK: Uninitialized value was created by a heap allocation -// CHECK: {{#0 0x.* in malloc}} +// CHECK: {{#0 0x.* in .*malloc}} // CHECK: {{#1 0x.* in main .*realloc-large-origin.cc:}}[[@LINE-15]] } diff --git a/compiler-rt/test/msan/realloc-origin.cc b/compiler-rt/test/msan/realloc-origin.cc index ad176e7e..6707cc9 100644 --- a/compiler-rt/test/msan/realloc-origin.cc +++ b/compiler-rt/test/msan/realloc-origin.cc @@ -16,6 +16,6 @@ int main(int argc, char **argv) { // CHECK: {{#0 0x.* in main .*realloc-origin.cc:}}[[@LINE-2]] // CHECK: Uninitialized value was created by a heap allocation - // CHECK: {{#0 0x.* in realloc}} + // CHECK: {{#0 0x.* in .*realloc}} // CHECK: {{#1 0x.* in main .*realloc-origin.cc:}}[[@LINE-9]] } -- 2.7.4