[ASan] Refine diagnoses messages
The provided PC is not reliable in every case, so don't suggest
something that does not make sense.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@374959 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/sanitizer_symbolizer_report.cpp b/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
index fe9ea1a..58ee0f9 100644
@@ -210,8 +210,7 @@
Report("The signal is caused by a %s memory access.\n", access_type);
Report("Hint: this fault was caused by a dereference of a high value "
- "address (see registers below). Dissassemble the provided pc "
- "to learn which register value was used.\n");
+ "address (see register values below).\n");
else if (sig.addr < GetPageSizeCached())
Report("Hint: address points to the zero page.\n");