First, do no harm -- even if we can't find a selector for an enclosing
authorJohn McCall <rjmccall@apple.com>
Wed, 1 Jun 2011 02:17:11 +0000 (02:17 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 1 Jun 2011 02:17:11 +0000 (02:17 +0000)
commit1edbd6f3f07176851cb03f7932ff50b9e9619dfb
tree148a40729298608a35dfc17fea9f40ef397e3c9e
parentedac4923dc2e1694f7004123ccd7c1af952d0d68
First, do no harm -- even if we can't find a selector for an enclosing
landing pad, forward llvm.eh.resume calls to it instead of turning them
invalidly into invokes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/inline_invoke.ll