From 5626325f6c1cd4a829fc180d82e02deb452eb578 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 23 Feb 2018 18:09:29 +0000 Subject: 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 --- test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm | 2 +- test/CodeGenObjCXX/msabi-objc-types.mm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/CodeGenObjCXX') 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" -- cgit v1.2.3