summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-02-25 19:51:03 +0000
committerAnna Zaks <ganna@apple.com>2013-02-25 19:51:03 +0000
commit0f424b029b42f5a846b8e4130c883044fd1043c9 (patch)
treec41d6f5ef2998ff11a4274f9b102867b18e6662d /clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
parent2d773b813895d69fea04ce310ac8f0e9a501dfae (diff)
downloadbcm5719-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/microsoft-abi-static-initializers.cpp')
-rw-r--r--clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp b/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
index 35e343bc4d3..112228a9d94 100644
--- a/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
+++ b/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
@@ -5,12 +5,12 @@ struct S {
~S() {}
} s;
-// CHECK: define internal void [[INIT_s:@.*global_var.*]] [[NUW:#[0-9]+]]
+// CHECK: define internal void [[INIT_s:@.*global_var.*]] #0
// CHECK: %{{[.0-9A-Z_a-z]+}} = call x86_thiscallcc %struct.S* @"\01??0S@@QAE@XZ"
// CHECK: call i32 @atexit(void ()* @"__dtor_\01?s@@3US@@A")
// CHECK: ret void
-// CHECK: define internal void @"__dtor_\01?s@@3US@@A"() [[NUW]] {
+// CHECK: define internal void @"__dtor_\01?s@@3US@@A"() #0 {
// CHECK: call x86_thiscallcc void @"\01??1S@@QAE@XZ"
// CHECK: ret void
@@ -33,7 +33,7 @@ void force_usage() {
(void)B<int>::foo; // (void) - force usage
}
-// CHECK: define internal void [[INIT_foo:@.*global_var.*]] [[NUW]]
+// CHECK: define internal void [[INIT_foo:@.*global_var.*]] #0
// CHECK: %{{[.0-9A-Z_a-z]+}} = call x86_thiscallcc %class.A* @"\01??0A@@QAE@XZ"
// CHECK: call i32 @atexit(void ()* [[FOO_DTOR:@"__dtor_.*foo@.*]])
// CHECK: ret void
@@ -46,9 +46,10 @@ void force_usage() {
// CHECK: call x86_thiscallcc void @"\01??1A@@QAE@XZ"{{.*}}foo
// CHECK: ret void
-// CHECK: define internal void @_GLOBAL__I_a() [[NUW]] {
+// CHECK: define internal void @_GLOBAL__I_a() #0 {
// CHECK: call void [[INIT_s]]
// CHECK: call void [[INIT_foo]]
// CHECK: ret void
-// CHECK: attributes [[NUW]] = { nounwind }
+// CHECK: attributes #0 = { nounwind }
+// CHECK: attributes #1 = { nounwind "target-features"={{.*}} }
OpenPOWER on IntegriCloud