summaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorMartin Braenne <mboehme@google.com>2023-05-22 09:52:31 +0000
committerMartin Braenne <mboehme@google.com>2023-05-22 12:19:55 +0000
commita9e90f7994222dde987154ed009504afbf3c2166 (patch)
treea76d3e2cf86b754684a4ea1023917687abca8167 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parent09841d792f47310cf582156b92ffd9fa232853d6 (diff)
[clang][dataflow] Fix a null pointer crash in `computeBlockInputState()`.
The crash was due to unconditionally calling `Block.succ_begin()->getReachableBlock()->hasNoReturnElement()`, but `getReachableBlock()` can return null now that we have turned `PruneTriviallyFalseEdges` on. This patch adds two tests that crash without the fix. Reviewed By: ymandel Differential Revision: https://reviews.llvm.org/D151071
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions