diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-01-16 20:32:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-01-16 20:32:35 +0000 |
commit | d9b26d563adb567d45aac882368b429196b25a24 (patch) | |
tree | d86590b8efc3cbc00a21463616a88fdfc0b23a88 /clang/test/CodeGen/c-strings.c | |
parent | 9382b1c456d15d2facddc78cef0b1f196e23cad4 (diff) | |
download | bcm5719-llvm-d9b26d563adb567d45aac882368b429196b25a24.tar.gz bcm5719-llvm-d9b26d563adb567d45aac882368b429196b25a24.zip |
Add comdat to string literal variables on COFF.
llvm-svn: 226317
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 d82bc2572e4..36934e81d5a 100644 --- a/clang/test/CodeGen/c-strings.c +++ b/clang/test/CodeGen/c-strings.c @@ -6,7 +6,7 @@ // CHECK: @align = global i8 [[ALIGN:[0-9]+]] // ITANIUM: @.str = private unnamed_addr constant [6 x i8] c"hello\00" -// MSABI: @"\01??_C@_05CJBACGMB@hello?$AA@" = linkonce_odr unnamed_addr constant [6 x i8] c"hello\00", align 1 +// MSABI: @"\01??_C@_05CJBACGMB@hello?$AA@" = linkonce_odr unnamed_addr constant [6 x i8] c"hello\00", comdat, align 1 // ITANIUM: @f1.x = internal global i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0) // MSABI: @f1.x = internal global i8* getelementptr inbounds ([6 x i8]* @"\01??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) // CHECK: @f2.x = internal global [6 x i8] c"hello\00", align [[ALIGN]] |