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 | 8601a7511869e0f91f16c60a45e07bca9b5b8593 (patch) | |
tree | c8cead7cc686b4f95ea8a5e7e32cddbe38226d91 /clang/test/CodeGenCXX/global-init.cpp | |
parent | 38321174e09cde27318cf58f6b08e5bd7c92144c (diff) | |
download | bcm5719-llvm-8601a7511869e0f91f16c60a45e07bca9b5b8593.tar.gz bcm5719-llvm-8601a7511869e0f91f16c60a45e07bca9b5b8593.zip |
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>
llvm-svn: 110163
Diffstat (limited to 'clang/test/CodeGenCXX/global-init.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/global-init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/global-init.cpp b/clang/test/CodeGenCXX/global-init.cpp index 07db598900c..210f2a6969b 100644 --- a/clang/test/CodeGenCXX/global-init.cpp +++ b/clang/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. } |