diff options
author | John McCall <rjmccall@apple.com> | 2010-08-03 22:46:07 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-03 22:46:07 +0000 |
commit | 39dad53772c42eb36ebec1c81c56ba99d038fb94 (patch) | |
tree | f29b9495be994ad445917b5a18d8c1948e949c73 /test/CodeGenCXX/global-init.cpp | |
parent | 863e7189dc437ef0f35ff94d74f62c775759d2ce (diff) |
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
Diffstat (limited to 'test/CodeGenCXX/global-init.cpp')
-rw-r--r-- | test/CodeGenCXX/global-init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/global-init.cpp b/test/CodeGenCXX/global-init.cpp index 07db598900..210f2a6969 100644 --- a/test/CodeGenCXX/global-init.cpp +++ b/test/CodeGenCXX/global-init.cpp @@ -36,7 +36,7 @@ namespace test1 { const int y = x - 1; // This gets deferred. const int z = ~y; // This also gets deferred, but gets "undeferred" before y. int test() { return z; } -// CHECK: define i32 @_ZN5test14testEv() { +// CHECK: define i32 @_ZN5test14testEv() // All of these initializers end up delayed, so we check them later. } |