[compiler-rt] r314015 - [sanitizer] Replace AddressSanitizer with correct tool name
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 22 11:50:18 PDT 2017
Author: vitalybuka
Date: Fri Sep 22 11:50:18 2017
New Revision: 314015
URL: http://llvm.org/viewvc/llvm-project?rev=314015&view=rev
Log:
[sanitizer] Replace AddressSanitizer with correct tool name
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc?rev=314015&r1=314014&r2=314015&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc Fri Sep 22 11:50:18 2017
@@ -368,8 +368,9 @@ ScopedErrorReportLock::ScopedErrorReport
// Can't use Report() here because of potential deadlocks in nested
// signal handlers.
- static const char msg[] =
- "AddressSanitizer: nested bug in the same thread, aborting.\n";
+ CatastrophicErrorWrite(SanitizerToolName,
+ internal_strlen(SanitizerToolName));
+ static const char msg[] = ": nested bug in the same thread, aborting.\n";
CatastrophicErrorWrite(msg, sizeof(msg) - 1);
internal__exit(common_flags()->exitcode);
More information about the llvm-commits
mailing list