[compiler-rt] r226803 - [msan] Relax CHECK conditions in 2 tests.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Jan 22 01:27:01 PST 2015
Author: eugenis
Date: Thu Jan 22 03:27:00 2015
New Revision: 226803
URL: http://llvm.org/viewvc/llvm-project?rev=226803&view=rev
Log:
[msan] Relax CHECK conditions in 2 tests.
Sometimes malloc/realloc/etc are symbolized as
__interceptor_malloc/realloc/etc.
Modified:
compiler-rt/trunk/test/msan/realloc-large-origin.cc
compiler-rt/trunk/test/msan/realloc-origin.cc
Modified: compiler-rt/trunk/test/msan/realloc-large-origin.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/realloc-large-origin.cc?rev=226803&r1=226802&r2=226803&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/realloc-large-origin.cc (original)
+++ compiler-rt/trunk/test/msan/realloc-large-origin.cc Thu Jan 22 03:27:00 2015
@@ -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]]
}
Modified: compiler-rt/trunk/test/msan/realloc-origin.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/realloc-origin.cc?rev=226803&r1=226802&r2=226803&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/realloc-origin.cc (original)
+++ compiler-rt/trunk/test/msan/realloc-origin.cc Thu Jan 22 03:27:00 2015
@@ -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]]
}
More information about the llvm-commits
mailing list