diff options
author | Utkarsh Saxena <usx@google.com> | 2025-08-03 21:45:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-03 21:45:36 +0200 |
commit | f9be391dd7cf04d83525cfccc954c80c6f05d15d (patch) | |
tree | ec1f6be932c58525f8370c468741949f6ef67326 /lldb/unittests/ScriptInterpreter/Python | |
parent | bc0f696b1fbf85b16bc9493b3e0e7027eb32f638 (diff) | |
download | llvm-f9be391dd7cf04d83525cfccc954c80c6f05d15d.zip llvm-f9be391dd7cf04d83525cfccc954c80c6f05d15d.tar.gz llvm-f9be391dd7cf04d83525cfccc954c80c6f05d15d.tar.bz2 |
[LifetimeSafety] Handle pruned-edges (null blocks) in dataflow (#150670)
Fix a crash in the lifetime safety dataflow analysis when handling null CFG blocks.
Added a null check for adjacent blocks in the dataflow analysis algorithm to prevent dereferencing null pointers. This occurs when processing CFG blocks with unreachable successors or predecessors.
Original crash: https://compiler-explorer.com/z/qfzfqG5vM
Fixes https://github.com/llvm/llvm-project/issues/150095
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions