[WinEH] Make sure terminate handlers have funclet operands
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 24 Feb 2016 17:02:45 +0000 (17:02 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 24 Feb 2016 17:02:45 +0000 (17:02 +0000)
commit971d31be6f643dd551c8e88fe5989adf98dfe677
tree86fe2349b66648fb749342bb308dc31ffb8f87aa
parentdbbaca0e1b5d9a6e36ffdf523c946f02fd6c2357
[WinEH] Make sure terminate handlers have funclet operands

Calls to the terminate handler must be annotated within the exception
region they are within.

llvm-svn: 261751
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CGException.cpp
clang/test/CodeGenCXX/exceptions-cxx-new.cpp
clang/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp