diff options
| author | Florian Hahn <flo@fhahn.com> | 2019-10-02 19:38:24 +0000 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2019-10-02 19:38:24 +0000 |
| commit | a80b6c15425f82521c624ff24c5c0a34cd534d54 (patch) | |
| tree | 5f75a320b55c57aa95d69c6f652f76a3579cf2f8 /lldb/scripts/Python/finishSwigPythonLLDB.py | |
| parent | c78c0e08be2192b3bc33f449f26480a58e89032b (diff) | |
| download | llvm-a80b6c15425f82521c624ff24c5c0a34cd534d54.zip llvm-a80b6c15425f82521c624ff24c5c0a34cd534d54.tar.gz llvm-a80b6c15425f82521c624ff24c5c0a34cd534d54.tar.bz2 | |
[Local] Handle terminators with users in removeUnreachableBlocks.
Terminators like invoke can have users outside the current basic block.
We have to replace those users with undef, before replacing the
terminator.
This fixes a crash exposed by rL373430.
Reviewers: brzycki, asbirlea, davide, spatel
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D68327
llvm-svn: 373513
Diffstat (limited to 'lldb/scripts/Python/finishSwigPythonLLDB.py')
0 files changed, 0 insertions, 0 deletions
