Insert crashing stack frame when call to null func ptr
authorJason Molenda <jason@molenda.com>
Fri, 6 May 2022 00:53:43 +0000 (17:53 -0700)
committerJason Molenda <jason@molenda.com>
Fri, 6 May 2022 00:55:22 +0000 (17:55 -0700)
commit2be791e32af33b7ef735bb180a8a91ee501d0560
tree10fd8ead8f66f3232856f96c85b99f200ddf8d21
parent21ab2b6ca870cbe82a632634428f4a1c8d1f790f
Insert crashing stack frame when call to null func ptr

On arm64 targets, when the crashing pc is 0, the caller
frame can be found by looking at $lr, but the crash
reports don't use that trick to show the actual crashing
frame.  This patch adds that stack frame that lldb shows.

Also fix an issue where some register names were printed
as having a prefix of 'None'.

Differential Revision: https://reviews.llvm.org/D125042
rdar://92631787
lldb/examples/python/crashlog.py