[compiler-rt] r204229 - [msan] Fix line numbers in test.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Mar 19 05:56:38 PDT 2014


Author: eugenis
Date: Wed Mar 19 07:56:38 2014
New Revision: 204229

URL: http://llvm.org/viewvc/llvm-project?rev=204229&view=rev
Log:
[msan] Fix line numbers in test.

This corresponds to a fix in llvm::SplitBlockAndInsertIfThen.

Modified:
    compiler-rt/trunk/test/msan/chained_origin.cc
    compiler-rt/trunk/test/msan/chained_origin_memcpy.cc

Modified: compiler-rt/trunk/test/msan/chained_origin.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/chained_origin.cc?rev=204229&r1=204228&r2=204229&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/chained_origin.cc (original)
+++ compiler-rt/trunk/test/msan/chained_origin.cc Wed Mar 19 07:56:38 2014
@@ -41,11 +41,11 @@ int main(int argc, char *argv[]) {
 // CHECK: {{#0 .* in main.*chained_origin.cc:37}}
 
 // CHECK: Uninitialized value was stored to memory at
-// CHECK: {{#.* in fn_h.*chained_origin.cc:26}}
+// CHECK: {{#.* in fn_h.*chained_origin.cc:25}}
 // CHECK: {{#.* in main.*chained_origin.cc:36}}
 
 // CHECK: Uninitialized value was stored to memory at
-// CHECK: {{#.* in fn_g.*chained_origin.cc:16}}
+// CHECK: {{#.* in fn_g.*chained_origin.cc:15}}
 // CHECK: {{#.* in fn_f.*chained_origin.cc:20}}
 // CHECK: {{#.* in main.*chained_origin.cc:35}}
 

Modified: compiler-rt/trunk/test/msan/chained_origin_memcpy.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/chained_origin_memcpy.cc?rev=204229&r1=204228&r2=204229&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/chained_origin_memcpy.cc (original)
+++ compiler-rt/trunk/test/msan/chained_origin_memcpy.cc Wed Mar 19 07:56:38 2014
@@ -43,7 +43,7 @@ int main(int argc, char *argv[]) {
 // CHECK: {{#.* in fn_h.*chained_origin_memcpy.cc:28}}
 
 // CHECK: Uninitialized value was stored to memory at
-// CHECK: {{#.* in fn_g.*chained_origin_memcpy.cc:.*}}
+// CHECK: {{#.* in fn_g.*chained_origin_memcpy.cc:18}}
 // CHECK: {{#.* in fn_f.*chained_origin_memcpy.cc:23}}
 
 // CHECK-Z1: Uninitialized value was created by an allocation of 'z1' in the stack frame of function 'main'





More information about the llvm-commits mailing list