[compiler-rt] r193335 - [msan] Change wording in the invalid origin message.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu Oct 24 04:52:48 PDT 2013


Author: eugenis
Date: Thu Oct 24 06:52:48 2013
New Revision: 193335

URL: http://llvm.org/viewvc/llvm-project?rev=193335&view=rev
Log:
[msan] Change wording in the invalid origin message.

Modified:
    compiler-rt/trunk/lib/msan/msan.cc

Modified: compiler-rt/trunk/lib/msan/msan.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/msan.cc?rev=193335&r1=193334&r2=193335&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/msan.cc (original)
+++ compiler-rt/trunk/lib/msan/msan.cc Thu Oct 24 06:52:48 2013
@@ -218,9 +218,10 @@ void PrintWarningWithOrigin(uptr pc, upt
   ReportUMR(&stack, report_origin);
 
   if (__msan_get_track_origins() && !OriginIsValid(origin)) {
-    Printf("  ORIGIN: invalid (%x). Might be a bug in MemorySanitizer, "
-           "please report to MemorySanitizer developers.\n",
-           origin);
+    Printf(
+        "  ORIGIN: invalid (%x). Might be a bug in MemorySanitizer origin "
+        "tracking.\n    This could still be a bug in your code, too!\n",
+        origin);
   }
 }
 





More information about the llvm-commits mailing list