[compiler-rt] r374965 - Revert "[ASan] Refine diagnoses messages"
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 19:13:16 PDT 2019
Author: yln
Date: Tue Oct 15 19:13:16 2019
New Revision: 374965
URL: http://llvm.org/viewvc/llvm-project?rev=374965&view=rev
Log:
Revert "[ASan] Refine diagnoses messages"
This reverts commit 4d1ecadda59ce82e5fa6e28dd15bf794eee88363.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer_report.cpp?rev=374965&r1=374964&r2=374965&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer_report.cpp (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer_report.cpp Tue Oct 15 19:13:16 2019
@@ -210,7 +210,8 @@ static void ReportDeadlySignalImpl(const
Report("The signal is caused by a %s memory access.\n", access_type);
if (!sig.is_true_faulting_addr)
Report("Hint: this fault was caused by a dereference of a high value "
- "address (see register values below).\n");
+ "address (see register values below). Dissassemble the provided "
+ "pc to learn which register was used.\n");
else if (sig.addr < GetPageSizeCached())
Report("Hint: address points to the zero page.\n");
}
More information about the llvm-commits
mailing list