diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-25 07:15:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-25 07:15:16 +0000 |
commit | d620e09c13b1ca32434ce440abf5bb0f3d0979c5 (patch) | |
tree | 7741519fb7d204ac5f8303922943f752d4903cab /test/CodeGenCXX/no-exceptions.cpp | |
parent | 0a8dead5303bd0cabebf07ab4e8d4f838787e8f1 (diff) |
Add more attributes from the command line to functions.
This is an ongoing process. Any command line option which a back-end cares about
should be added here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/no-exceptions.cpp')
-rw-r--r-- | test/CodeGenCXX/no-exceptions.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGenCXX/no-exceptions.cpp b/test/CodeGenCXX/no-exceptions.cpp index 4264953b00..ceb3b8e803 100644 --- a/test/CodeGenCXX/no-exceptions.cpp +++ b/test/CodeGenCXX/no-exceptions.cpp @@ -2,7 +2,7 @@ void g(); -// CHECK: define void @_Z1fv() #0 +// CHECK: define void @_Z1fv() [[NUW:#[0-9]+]] void f() throw (int) { // CHECK-NOT: invoke void @_Z1gv @@ -11,5 +11,4 @@ void f() throw (int) { // CHECK: ret void } -// CHECK: attributes #0 = { nounwind "target-features"={{.*}} } -// CHECK: attributes #1 = { "target-features"={{.*}} } +// CHECK: attributes [[NUW]] = { nounwind{{.*}} } |