For SJLJ exception handling, make sure that all calls that are not marked
authorJim Grosbach <grosbach@apple.com>
Thu, 4 Mar 2010 22:07:46 +0000 (22:07 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 4 Mar 2010 22:07:46 +0000 (22:07 +0000)
commitb58a59b3c1563ab5bd7225748e32933bf6d76c03
tree66f9b9ef717b937d5a42d26c8869a3fb552d78dd
parent436e6e7b5c85f12b7c2e41b7fd5c48e5d4d72912
For SJLJ exception handling, make sure that all calls that are not marked
as nounwind are marked with a -1 call-site value. This is necessary to, for
example, correctly process exceptions thrown from within an "unexpected"
execption handler (see SingleSource/Regression/C++/EH/expection_spec_test.cpp).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97757 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SjLjEHPrepare.cpp