summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/cfstring-windows.c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-03-20 15:48:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-03-20 15:48:00 +0000
commitdca06024e877e37e3631bd6a378c3945317dae85 (patch)
tree359324aa8507dc13e3eb30af7670bd0241397afe /clang/test/CodeGen/cfstring-windows.c
parent62690e9d0e2e6450939e9ee8c40c174eadaa824d (diff)
downloadbcm5719-llvm-dca06024e877e37e3631bd6a378c3945317dae85.tar.gz
bcm5719-llvm-dca06024e877e37e3631bd6a378c3945317dae85.zip
Set dso_local for CFConstantStringClassReference.
This one cannot use setGVProperties since it has special logic for when it is dllimport or not. llvm-svn: 327993
Diffstat (limited to 'clang/test/CodeGen/cfstring-windows.c')
-rw-r--r--clang/test/CodeGen/cfstring-windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/cfstring-windows.c b/clang/test/CodeGen/cfstring-windows.c
index 554c4d9982e..fe7511eae14 100644
--- a/clang/test/CodeGen/cfstring-windows.c
+++ b/clang/test/CodeGen/cfstring-windows.c
@@ -31,7 +31,7 @@ __declspec(dllimport) long __CFConstantStringClassReference[];
typedef struct __CFString *CFStringRef;
const CFStringRef string = (CFStringRef)__builtin___CFStringMakeConstantString("string");
-// CHECK-CF-IN-CF-DECL: @__CFConstantStringClassReference = external dllexport global [0 x i32]
+// CHECK-CF-IN-CF-DECL: @__CFConstantStringClassReference = external dso_local dllexport global [0 x i32]
// CHECK-CF-IN-CF-DEFN: @__CFConstantStringClassReference = common dso_local dllexport global [32 x i32]
// CHECK-CF: @__CFConstantStringClassReference = external dllimport global [0 x i32]
// CHECK-CF-EXTERN: @__CFConstantStringClassReference = external dllimport global [0 x i32]
OpenPOWER on IntegriCloud