]> granicus.if.org Git - clang/commit
[MS ABI] Disregard restrictive exception specifications
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 1 Apr 2015 04:45:52 +0000 (04:45 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 1 Apr 2015 04:45:52 +0000 (04:45 +0000)
commit16467648ec1c4dc5cd0a18c487f455eda5a7abf1
tree56155f26c348f678a60b69595ba6c595587ee10f
parent219d87b2d37b57b739416ca10688d545db7a3b4d
[MS ABI] Disregard restrictive exception specifications

MSVC treats all non-empty exception specifications the same way: all
exceptions are permitted.  The .xdata tables provide a way to
efficiently lower exception specifications *but* this probably has to be
implemented as a catch-all/rethrow mechanism instead of the Itanium way.

This fixes PR23092.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233787 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGException.cpp
test/CodeGenCXX/microsoft-abi-eh-catch.cpp