]> granicus.if.org Git - clang/commit
Emit landing pads for SEH even if nounwind is present
authorReid Kleckner <reid@kleckner.net>
Wed, 11 Feb 2015 00:00:21 +0000 (00:00 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 11 Feb 2015 00:00:21 +0000 (00:00 +0000)
commit4e8f3d056fc68714029c61df05645fbb88f5a391
tree05ee44a0385fbda7556d984af1b11a1647ceae6b
parentaf10efb26dacb672b9a41af8d35b09e32872236e
Emit landing pads for SEH even if nounwind is present

Disabling exceptions applies nounwind to lots of functions. SEH catches
asynch exceptions, so emit the landing pad anyway.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228769 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGException.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/exceptions-seh.cpp