summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjCXX
diff options
context:
space:
mode:
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"