]> granicus.if.org Git - clang/commit
When an exception needs to be freed by calling __cxa_exception_free, make sure to...
authorAnders Carlsson <andersca@mac.com>
Fri, 11 Dec 2009 00:32:37 +0000 (00:32 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 11 Dec 2009 00:32:37 +0000 (00:32 +0000)
commit8370c58b9295b32bee50443fe3ac43a47a2047e8
tree684eab922ccb9658aa430d9992f6d22aed54fcb5
parent5c2609a1f9c68bbbb3dc665df212988133e85439
When an exception needs to be freed by calling __cxa_exception_free, make sure to stash away the exception pointer somewhere.

This fixes an "Instruction does not dominate all uses!" verification error when compiling TableGen.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91084 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGException.cpp
test/CodeGenCXX/eh.cpp
test/CodeGenCXX/exceptions.cpp [new file with mode: 0644]