The AssertRecognizer used the module from a frames SC without checking it was non...
authorJim Ingham <jingham@apple.com>
Fri, 13 Nov 2020 19:36:17 +0000 (11:36 -0800)
committerJim Ingham <jingham@apple.com>
Fri, 13 Nov 2020 19:41:32 +0000 (11:41 -0800)
commit5a4b2e1541f399c146a4ef5cf8f6aaf8b258a77b
tree5eb1b7509bcf61b90c25d934507bdcb092427dda
parentb764a62f02e146bed96cf2231bd1db2d9d4fb72c
The AssertRecognizer used the module from a frames SC without checking it was non-null.

I only have a crash report for this.  I could reproduce it with a slightly older
lldb by running an expression that called pthread_kill, but we started making modules
for our expression JIT code, so that no longer triggers the bug.  I can't think of another
good way to test it but the fix is obvious.
lldb/source/Target/AssertFrameRecognizer.cpp