This is an archive of the discontinued LLVM Phabricator instance.

[lldb/crashlog] Add support for 32bit frame addresses
ClosedPublic

Authored by mib on Oct 5 2022, 1:02 PM.

Details

Summary

This patch adds support for 32bit stack frame addresses in the crashlog
command.

For crash reports that are generated from a arm64_32 process, PAGEZERO is
loaded at 0x00004000 so no code address will be less than 0x4000.

This patch changes the crashlog frame address regex group to match
addresses as small as 4 hex characters.

rdar://100805026

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

Diff Detail

Event Timeline

mib created this revision.Oct 5 2022, 1:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2022, 1:02 PM
mib requested review of this revision.Oct 5 2022, 1:02 PM
mib edited the summary of this revision. (Show Details)Oct 5 2022, 1:07 PM
mib updated this revision to Diff 465522.Oct 5 2022, 1:12 PM
kastiglione accepted this revision.Oct 5 2022, 1:13 PM
This revision is now accepted and ready to land.Oct 5 2022, 1:13 PM
This revision was automatically updated to reflect the committed changes.