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/threadsafe-statics.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/threadsafe-statics.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/threadsafe-statics.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/threadsafe-statics.cpp b/clang/test/CodeGenCXX/threadsafe-statics.cpp index 9aecc2d0db6..a28d0fccbd2 100644 --- a/clang/test/CodeGenCXX/threadsafe-statics.cpp +++ b/clang/test/CodeGenCXX/threadsafe-statics.cpp @@ -6,7 +6,7 @@ int f(); // WITH-TSS: @_ZZ1gvE1a = internal global i32 0, align 4 // WITH-TSS: @_ZGVZ1gvE1a = internal global i64 0 -// WITH-TSS: define void @_Z1gv() [[NUW:#[0-9]+]] +// WITH-TSS: define void @_Z1gv() #0 // WITH-TSS: call i32 @__cxa_guard_acquire // WITH-TSS: call void @__cxa_guard_release // WITH-TSS: ret void @@ -17,11 +17,14 @@ void g() { // NO-TSS: @_ZZ1gvE1a = internal global i32 0, align 4 // NO-TSS: @_ZGVZ1gvE1a = internal global i8 0 -// NO-TSS: define void @_Z1gv() [[NUW:#[0-9]+]] +// NO-TSS: define void @_Z1gv() #0 // NO-TSS-NOT: call i32 @__cxa_guard_acquire // NO-TSS-NOT: call void @__cxa_guard_release // NO-TSS: ret void -// WITH-TSS: attributes [[NUW]] = { nounwind{{.*}} } +// WITH-TSS: attributes #0 = { nounwind "target-features"={{.*}} } +// WITH-TSS: attributes #1 = { nounwind } +// WITH-TSS: attributes #2 = { "target-features"={{.*}} } -// NO-TSS: attributes [[NUW]] = { nounwind{{.*}} } +// NO-TSS: attributes #0 = { nounwind "target-features"={{.*}} } +// NO-TSS: attributes #1 = { "target-features"={{.*}} } |