diff options
author | Jason Molenda <jason@molenda.com> | 2023-02-06 14:45:41 -0800 |
---|---|---|
committer | Jason Molenda <jason@molenda.com> | 2023-02-06 14:53:50 -0800 |
commit | 701030c3ecba0621ce5d325667fb75b73cf1532b (patch) | |
tree | db8354d452232cada7cc778d035fb42e5334e229 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 96bd36498b34824e179bd7f39a0e4356730bad51 (diff) | |
download | llvm-701030c3ecba0621ce5d325667fb75b73cf1532b.zip llvm-701030c3ecba0621ce5d325667fb75b73cf1532b.tar.gz llvm-701030c3ecba0621ce5d325667fb75b73cf1532b.tar.bz2 |
In InitializeZerothFrame check for a CFA/AFA or error out
There is a failure where we somehow get an invalid register
number being used to calculate the canonical frame address,
and this ends up with lldb crashing with a null deref because it
assumes that it is always able to find information about that
register.
This patch adds a check for a failure to get a register, and
declares the frame invalid in that case, with some additional
logging or an assert for debug builds.
Differential Revision: https://reviews.llvm.org/D143232
rdar://104428038
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions