When inlining through an 'nounwind' call, mark inlined
authorDuncan Sands <baldrick@free.fr>
Wed, 19 Dec 2007 21:13:37 +0000 (21:13 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 19 Dec 2007 21:13:37 +0000 (21:13 +0000)
commitf0c3354d998507515ab39e26b5292ea0ceb06aef
treed4442f54d211307d792ee586467e8a127c908365
parent0a92af487b8ae5d004a3460e3518a3815d9b36a8
When inlining through an 'nounwind' call, mark inlined
calls 'nounwind'.  It is important for correct C++
exception handling that nounwind markings do not get
lost, so this transformation is actually needed for
correctness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45218 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instructions.h
include/llvm/ParameterAttributes.h
include/llvm/Support/CallSite.h
lib/Transforms/IPO/PruneEH.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/VMCore/Function.cpp
lib/VMCore/Instructions.cpp
test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll [new file with mode: 0644]