aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/finishSwigPythonLLDB.py
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-02-26 22:34:33 +0000
committerNico Weber <nicolasweber@gmx.de>2015-02-26 22:34:33 +0000
commitff62a6a0b79da24fe6336fe1dfbe1bc11d0a563a (patch)
tree89207f1f0497d60acc34f2ad6825ec63583d6c54 /lldb/scripts/Python/finishSwigPythonLLDB.py
parent653773d0048de921fbd5cf6a4aa2767a7cd9158a (diff)
downloadllvm-ff62a6a0b79da24fe6336fe1dfbe1bc11d0a563a.zip
llvm-ff62a6a0b79da24fe6336fe1dfbe1bc11d0a563a.tar.gz
llvm-ff62a6a0b79da24fe6336fe1dfbe1bc11d0a563a.tar.bz2
Don't crash on leaving nested __finally blocks through an EH edge.
The __finally emission block tries to be clever by removing unused continuation edges if there's an unconditional jump out of the __finally block. With exception edges, the EH continuation edge isn't always unused though and we'd crash in a few places. Just don't be clever. That makes the IR for __finally blocks a bit longer in some cases (hence small and behavior-preserving changes to existing tests), but it makes no difference in general and it fixes the last crash from PR22553. http://reviews.llvm.org/D7918 llvm-svn: 230697
Diffstat (limited to 'lldb/scripts/Python/finishSwigPythonLLDB.py')
0 files changed, 0 insertions, 0 deletions