Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 7bd52f9

Browse files
committed
[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
1 parent 011274a commit 7bd52f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/sanitizer_common/sanitizer_symbolizer_report.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ static void ReportDeadlySignalImpl(const SignalContext &sig, u32 tid,
210210
Report("The signal is caused by a %s memory access.\n", access_type);
211211
if (!sig.is_true_faulting_addr)
212212
Report("Hint: this fault was caused by a dereference of a high value "
213-
"address (see registers below). Dissassemble the provided pc "
214-
"to learn which register value was used.\n");
213+
"address (see register values below).\n");
215214
else if (sig.addr < GetPageSizeCached())
216215
Report("Hint: address points to the zero page.\n");
217216
}

0 commit comments

Comments
 (0)