summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjCXX
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-02-23 18:09:29 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-02-23 18:09:29 +0000
commit5626325f6c1cd4a829fc180d82e02deb452eb578 (patch)
tree5223dc60d54cc9dbcdffc0a43e1343749b8190ae /test/CodeGenObjCXX
parentc853ce68928900b3e2e06ab8c803af2319854d05 (diff)
Revert "Start setting dso_local for COFF."
This reverts commit r325915. It will take some time to fix the failures on a windows host. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX')
-rw-r--r--test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm2
-rw-r--r--test/CodeGenObjCXX/msabi-objc-types.mm6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm b/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm
index 45a8f63282..cb71bcf0aa 100644
--- a/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm
+++ b/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm
@@ -9,7 +9,7 @@ struct A {
// Verify that we destruct things from left to right in the MS C++ ABI: a, b, c, d.
//
-// CHECK-LABEL: define dso_local void @"\01?test_arc_order@@YAXUA@@PAUobjc_object@@01@Z"
+// CHECK-LABEL: define void @"\01?test_arc_order@@YAXUA@@PAUobjc_object@@01@Z"
// CHECK: (<{ %struct.A, i8*, %struct.A, i8* }>* inalloca)
void test_arc_order(A a, id __attribute__((ns_consumed)) b , A c, id __attribute__((ns_consumed)) d) {
// CHECK: call x86_thiscallcc void @"\01??1A@@QAE@XZ"(%struct.A* %{{.*}})
diff --git a/test/CodeGenObjCXX/msabi-objc-types.mm b/test/CodeGenObjCXX/msabi-objc-types.mm
index 28b9f9d62d..6b20d0b3d7 100644
--- a/test/CodeGenObjCXX/msabi-objc-types.mm
+++ b/test/CodeGenObjCXX/msabi-objc-types.mm
@@ -3,13 +3,13 @@
@class I;
id kid;
-// CHECK: @"\01?kid@@3PAUobjc_object@@A" = dso_local global
+// CHECK: @"\01?kid@@3PAUobjc_object@@A" = global
Class klass;
-// CHECK: @"\01?klass@@3PAUobjc_class@@A" = dso_local global
+// CHECK: @"\01?klass@@3PAUobjc_class@@A" = global
I *kI;
-// CHECK: @"\01?kI@@3PAUI@@A" = dso_local global
+// CHECK: @"\01?kI@@3PAUI@@A" = global
void f(I *) {}
// CHECK-LABEL: "\01?f@@YAXPAUI@@@Z"