forked from OSchip/llvm-project
784d4a455b
Those commits created an artificial edge from a cleanup to a synthesized catchswitch in order to get the MSVC personality routine to execute cleanups which don't cleanupret and are not wrapped by a catchswitch. This worked well enough but is not a complete solution in situations where there the cleanup infinite loops. However, the real deal breaker behind this approach comes about from a degenerate case where the cleanup is post-dominated by unreachable *and* throws an exception. This ends poorly because the catchswitch will inadvertently catch the exception. Because of this we should go back to our previous behavior of not executing certain cleanups (identical behavior with the Itanium ABI implementation in clang, GCC and ICC). N.B. I think this could be salvaged by making the catchpad rethrow the exception and properly transforming throwing calls in the cleanup into invokes. llvm-svn: 259338 |
||
---|---|---|
.. | ||
lit.local.cfg | ||
wineh-cloning.ll | ||
wineh-demotion.ll | ||
wineh-intrinsics-invalid.ll | ||
wineh-intrinsics.ll | ||
wineh-no-demotion.ll | ||
wineh-statenumbering-cleanups.ll | ||
wineh-statenumbering.ll |