]> granicus.if.org Git - clang/commit
Do a very simple pass over every function we emit to infer whether we can
authorJohn McCall <rjmccall@apple.com>
Tue, 3 Aug 2010 22:46:07 +0000 (22:46 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 3 Aug 2010 22:46:07 +0000 (22:46 +0000)
commit39dad53772c42eb36ebec1c81c56ba99d038fb94
treef29b9495be994ad445917b5a18d8c1948e949c73
parent863e7189dc437ef0f35ff94d74f62c775759d2ce
Do a very simple pass over every function we emit to infer whether we can
mark it nounwind based on whether it contains any non-nounwind calls.
<rdar://problem/8087431>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110163 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.cpp
test/CodeGen/unwind-attr.c
test/CodeGenCXX/global-init.cpp