diff options
author | Anna Zaks <ganna@apple.com> | 2013-02-25 19:51:03 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-02-25 19:51:03 +0000 |
commit | 0f424b029b42f5a846b8e4130c883044fd1043c9 (patch) | |
tree | c41d6f5ef2998ff11a4274f9b102867b18e6662d /clang/test/CodeGenCXX/global-init.cpp | |
parent | 2d773b813895d69fea04ce310ac8f0e9a501dfae (diff) | |
download | bcm5719-llvm-0f424b029b42f5a846b8e4130c883044fd1043c9.tar.gz bcm5719-llvm-0f424b029b42f5a846b8e4130c883044fd1043c9.zip |
Revert "Add more attributes from the command line to functions."
This reverts commit 176009.
The commit is a likely cause of several buildbot failures.
llvm-svn: 176044
Diffstat (limited to 'clang/test/CodeGenCXX/global-init.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/global-init.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/global-init.cpp b/clang/test/CodeGenCXX/global-init.cpp index 426cf9c10e3..ddad2d2ebca 100644 --- a/clang/test/CodeGenCXX/global-init.cpp +++ b/clang/test/CodeGenCXX/global-init.cpp @@ -200,6 +200,15 @@ namespace test7 { // CHECK: call void [[TEST1_Z_INIT]] // rdar://problem/8090834: this should be nounwind -// CHECK-NOEXC: define internal void @_GLOBAL__I_a() [[NUW:#[0-9]+]] section "__TEXT,__StaticInit,regular,pure_instructions" { - -// CHECK-NOEXC: attributes [[NUW]] = { 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 } |