]> granicus.if.org Git - clang/commit
Emit an error when attempting to generate IR for SEH __try
authorReid Kleckner <reid@kleckner.net>
Mon, 16 Sep 2013 21:46:30 +0000 (21:46 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 16 Sep 2013 21:46:30 +0000 (21:46 +0000)
commit98592d9c4dff79480fdc25b83988de03f912b647
tree1beec30ca40ec0df0aced78dc02b68689f1e9119
parent175d417134124df3abba8d874e51f04d5b4b9ee6
Emit an error when attempting to generate IR for SEH __try

Currently we silently omit the code in the try and finally bodies, which
is pretty bad.  This way we fail loudly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190809 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGException.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/exceptions-seh.c [new file with mode: 0644]