summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/ms-property.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-02-23 19:30:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-02-23 19:30:48 +0000
commit922f2aa9b2f13631febe7167e6db3cd3b421e161 (patch)
treebdbcb27e99714519c2e27a4358ce87c069bc4ad9 /clang/test/CodeGenCXX/ms-property.cpp
parent1afffac05b37af21c6df63ef5e662e2e1b81c2f8 (diff)
downloadbcm5719-llvm-922f2aa9b2f13631febe7167e6db3cd3b421e161.tar.gz
bcm5719-llvm-922f2aa9b2f13631febe7167e6db3cd3b421e161.zip
Bring r325915 back.
The tests that failed on a windows host have been fixed. Original message: Start setting dso_local for COFF. With this there are still some GVs where we don't set dso_local because setGVProperties is never called. I intend to fix that in followup commits. This is just the bare minimum to teach shouldAssumeDSOLocal what it should do for COFF. llvm-svn: 325940
Diffstat (limited to 'clang/test/CodeGenCXX/ms-property.cpp')
-rw-r--r--clang/test/CodeGenCXX/ms-property.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/ms-property.cpp b/clang/test/CodeGenCXX/ms-property.cpp
index 49e957b58e3..8c1c7a62372 100644
--- a/clang/test/CodeGenCXX/ms-property.cpp
+++ b/clang/test/CodeGenCXX/ms-property.cpp
@@ -102,7 +102,7 @@ int main(int argc, char **argv) {
return Test1::GetTest1()->X;
}
-// CHECK: define linkonce_odr void @"\01??$foo@H@@YAXHH@Z"(i32 %{{.+}}, i32 %{{.+}})
+// CHECK: define linkonce_odr dso_local void @"\01??$foo@H@@YAXHH@Z"(i32 %{{.+}}, i32 %{{.+}})
// CHECK: call i32 @"\01?GetX@?$St@H@@QEAAHHH@Z"(%class.St{{.+}}* [[BAR:%.+]], i32 %{{.+}} i32 %{{.+}})
// CHECK: call i32 @"\01?PutX@?$St@H@@QEAAHHHH@Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}}, i32 %{{.+}}, i32 %{{.+}})
// CHECK: call i32 @"\01?GetX@?$St@H@@QEAAHHH@Z"(%class.St{{.+}}* [[BAR]], i32 %{{.+}} i32 %{{.+}})
OpenPOWER on IntegriCloud