diff options
author | Florian Hahn <flo@fhahn.com> | 2025-07-31 17:52:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-31 17:52:45 +0100 |
commit | 69f3ea08522eca4b8617145fdafb8fc6595ddf97 (patch) | |
tree | 77b8347a0092e52c5c2ff68e3442f01bd39c302c /lldb/unittests/ScriptInterpreter/Python | |
parent | 3ca2050aa62bde68c74ddbb6c2501bd49831dd22 (diff) | |
download | llvm-69f3ea08522eca4b8617145fdafb8fc6595ddf97.zip llvm-69f3ea08522eca4b8617145fdafb8fc6595ddf97.tar.gz llvm-69f3ea08522eca4b8617145fdafb8fc6595ddf97.tar.bz2 |
[MachineBB] Make sure there are successors in terminatorIsComputedGoto. (#151342)
Currently terminatorIsComputedGoto will return for blocks with a
indirect branch terminator and no successor. If there are no successor,
the terminator is likely not a computed goto, return false in that case.
Note that this is currently NFC, as the only use checks it only if there
are successors, but it will be needed in
https://github.com/llvm/llvm-project/pull/150911.
PR: https://github.com/llvm/llvm-project/pull/151342
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions