[compiler-rt] r190690 - [msan] Add source file:line to stack origin reports.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Fri Sep 13 05:55:08 PDT 2013


Author: eugenis
Date: Fri Sep 13 07:55:07 2013
New Revision: 190690

URL: http://llvm.org/viewvc/llvm-project?rev=190690&view=rev
Log:
[msan] Add source file:line to stack origin reports.

Test.

Modified:
    compiler-rt/trunk/lib/msan/lit_tests/stack-origin.cc

Modified: compiler-rt/trunk/lib/msan/lit_tests/stack-origin.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/lit_tests/stack-origin.cc?rev=190690&r1=190689&r2=190690&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/lit_tests/stack-origin.cc (original)
+++ compiler-rt/trunk/lib/msan/lit_tests/stack-origin.cc Fri Sep 13 07:55:07 2013
@@ -26,6 +26,7 @@ int main(int argc, char **argv) {
   // CHECK: {{#0 0x.* in main .*stack-origin.cc:}}[[@LINE-3]]
 
   // CHECK-ORIGINS: Uninitialized value was created by an allocation of 'x' in the stack frame of function 'main'
+  // CHECK-ORIGINS: {{#0 0x.* in main .*stack-origin.cc:}}[[@LINE-9]]
 
   // CHECK: SUMMARY: MemorySanitizer: use-of-uninitialized-value {{.*stack-origin.cc:.* main}}
   return 0;





More information about the llvm-commits mailing list