[compiler-rt] r208069 - [msan] Fix print_shadow test.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Tue May 6 01:15:50 PDT 2014


Author: eugenis
Date: Tue May  6 03:15:50 2014
New Revision: 208069

URL: http://llvm.org/viewvc/llvm-project?rev=208069&view=rev
Log:
[msan] Fix print_shadow test.

Modified:
    compiler-rt/trunk/test/msan/msan_print_shadow2.cc

Modified: compiler-rt/trunk/test/msan/msan_print_shadow2.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/msan_print_shadow2.cc?rev=208069&r1=208068&r2=208069&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/msan_print_shadow2.cc (original)
+++ compiler-rt/trunk/test/msan/msan_print_shadow2.cc Tue May  6 03:15:50 2014
@@ -17,8 +17,8 @@ int main(void) {
   __msan_print_shadow(p+15, 1);
   __msan_print_shadow(p, 0);
   delete[] p;
-  const char *q = "abc";
-  __msan_print_shadow(q, 3);
+  int x = 0;
+  __msan_print_shadow(&x, 3);
   return 0;
 }
 





More information about the llvm-commits mailing list