summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-01-23 23:54:33 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-01-23 23:54:33 +0000
commitb7d49268c2cf14ed0197232ac859422f1ed89a8a (patch)
tree5b462a6641386e54ab6803ba1977c002874e0ac3 /lldb/packages/Python/lldbsuite/test/python_api/thread
parent518276a5fec86b3dfc84635fc0a0ec77ab21e04a (diff)
downloadbcm5719-llvm-b7d49268c2cf14ed0197232ac859422f1ed89a8a.tar.gz
bcm5719-llvm-b7d49268c2cf14ed0197232ac859422f1ed89a8a.zip
[WinEH] Don't miscompile cleanups which conditionally unwind to caller
A cleanup can have paths which unwind or end up in unreachable. If there is an unreachable path *and* a path which unwinds to caller, we would mistakenly inject an unwind path to a catchswitch on the unreachable path. This results in a verifier assertion firing because the cleanup unwinds to two different places: to the caller and to the catchswitch. This occured because we used getCleanupRetUnwindDest to determine if the cleanuppad had no cleanuprets. This is incorrect, getCleanupRetUnwindDest returns null for cleanuprets which unwind to caller. llvm-svn: 258651
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud