[SEH] Pass the frame pointer from SEH finally to finally functions
authorSanjin Sijaric <ssijaric@codeaurora.org>
Wed, 16 Jan 2019 07:39:44 +0000 (07:39 +0000)
committerSanjin Sijaric <ssijaric@codeaurora.org>
Wed, 16 Jan 2019 07:39:44 +0000 (07:39 +0000)
commitcfa2a2afa64890858999ab9510627712c0f5e4f9
tree2587a5d0be6b848c3518813a26a56a3b12f43265
parent94d6dd4c082412d7914babffb8b7eee28b985d1f
[SEH] Pass the frame pointer from SEH finally to finally functions

Pass the frame pointer that the first finally block receives onto the nested
finally block, instead of generating it using localaddr.

Differential Revision: https://reviews.llvm.org/D56463

llvm-svn: 351302
clang/lib/CodeGen/CGException.cpp
clang/test/CodeGen/exceptions-seh-nested-finally.c [new file with mode: 0644]