diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-20 20:42:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-20 20:42:55 +0000 |
commit | 0d40f125967df7971eaff0a23cc78372edd4a904 (patch) | |
tree | 2cd2661a8e2504b6a2073e686d24e9f732132afa /clang/test/CodeGen/c-strings.c | |
parent | 07589fc49658e3731501fc2c03a00f3865c4524c (diff) | |
download | bcm5719-llvm-0d40f125967df7971eaff0a23cc78372edd4a904.tar.gz bcm5719-llvm-0d40f125967df7971eaff0a23cc78372edd4a904.zip |
Set dso_local on string literals.
llvm-svn: 328040
Diffstat (limited to 'clang/test/CodeGen/c-strings.c')
-rw-r--r-- | clang/test/CodeGen/c-strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/c-strings.c b/clang/test/CodeGen/c-strings.c index bb0c2cc4a57..a94cd8920e0 100644 --- a/clang/test/CodeGen/c-strings.c +++ b/clang/test/CodeGen/c-strings.c @@ -6,7 +6,7 @@ // CHECK: @align = {{(dso_local )?}}global i8 [[ALIGN:[0-9]+]] // ITANIUM: @.str = private unnamed_addr constant [6 x i8] c"hello\00" -// MSABI: @"??_C@_05CJBACGMB@hello?$AA@" = linkonce_odr unnamed_addr constant [6 x i8] c"hello\00", comdat, align 1 +// MSABI: @"??_C@_05CJBACGMB@hello?$AA@" = linkonce_odr dso_local unnamed_addr constant [6 x i8] c"hello\00", comdat, align 1 // ITANIUM: @f1.x = internal global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0) // MSABI: @f1.x = internal global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @"??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) // CHECK: @f2.x = internal global [6 x i8] c"hello\00", align [[ALIGN]] |