This is an archive of the discontinued LLVM Phabricator instance.

[lldb/crashlog] Fix frame parser regex for when there is no source info
ClosedPublic

Authored by mib on Nov 4 2022, 2:49 PM.

Details

Summary

It can happen that the originator of a crash report doesn't have access
to certain images. When that's the case, ReportCrash won't show the
source info in the crash report stack frames, but only the stack address
and image name.

This patch fixes a bug in the crashlog stackframe parser regular
expression to optionally match the source info group.

rdar://101934135

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>

Diff Detail

Event Timeline

mib created this revision.Nov 4 2022, 2:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2022, 2:49 PM
mib requested review of this revision.Nov 4 2022, 2:49 PM
kastiglione accepted this revision.Nov 4 2022, 5:09 PM
This revision is now accepted and ready to land.Nov 4 2022, 5:09 PM