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/global-init.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/global-init.cpp')
-rw-r--r-- | test/CodeGenCXX/global-init.cpp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/test/CodeGenCXX/global-init.cpp b/test/CodeGenCXX/global-init.cpp index ddad2d2ebc..426cf9c10e 100644 --- a/test/CodeGenCXX/global-init.cpp +++ b/test/CodeGenCXX/global-init.cpp @@ -200,15 +200,6 @@ namespace test7 { // CHECK: call void [[TEST1_Z_INIT]] // rdar://problem/8090834: this should be nounwind -// CHECK-NOEXC: define internal void @_GLOBAL__I_a() #0 section "__TEXT,__StaticInit,regular,pure_instructions" { - -// CHECK: attributes #0 = { "target-features"={{.*}} } -// CHECK: attributes #1 = { nounwind } -// CHECK: attributes #2 = { nounwind "target-features"={{.*}} } -// CHECK: attributes #3 = { noinline noreturn nounwind } -// CHECK: attributes #4 = { nounwind readonly } - -// CHECK-NOEXC: attributes #0 = { nounwind } -// CHECK-NOEXC: attributes #1 = { "target-features"={{.*}} } -// CHECK-NOEXC: attributes #2 = { nounwind "target-features"={{.*}} } -// CHECK-NOEXC: attributes #3 = { nounwind readonly } +// CHECK-NOEXC: define internal void @_GLOBAL__I_a() [[NUW:#[0-9]+]] section "__TEXT,__StaticInit,regular,pure_instructions" { + +// CHECK-NOEXC: attributes [[NUW]] = { nounwind } |