From 922f2aa9b2f13631febe7167e6db3cd3b421e161 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 23 Feb 2018 19:30:48 +0000 Subject: 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 --- clang/test/OpenMP/sections_private_codegen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/OpenMP/sections_private_codegen.cpp') diff --git a/clang/test/OpenMP/sections_private_codegen.cpp b/clang/test/OpenMP/sections_private_codegen.cpp index c5846e65f0b..6a6d4fe6481 100644 --- a/clang/test/OpenMP/sections_private_codegen.cpp +++ b/clang/test/OpenMP/sections_private_codegen.cpp @@ -47,7 +47,7 @@ T tmain() { int main() { static int sivar; #ifdef LAMBDA - // LAMBDA: [[G:@.+]] = global double + // LAMBDA: [[G:@.+]] = {{(dso_local )?}}global double // LAMBDA-LABEL: @main // LAMBDA: call{{.*}} void [[OUTER_LAMBDA:@.+]]( [&]() { @@ -92,7 +92,7 @@ int main() { }(); return 0; #elif defined(BLOCKS) - // BLOCKS: [[G:@.+]] = global double + // BLOCKS: [[G:@.+]] = {{(dso_local )?}}global double // BLOCKS-LABEL: @main // BLOCKS: call {{.*}}void {{%.+}}(i8 ^{ -- cgit v1.2.3