Skip to content

Commit 4d1ecad

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. llvm-svn: 374959
1 parent 20c692a commit 4d1ecad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp

+1-2
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)