String constants are now output with private linkage.
authorDuncan Sands <baldrick@free.fr>
Wed, 15 Jul 2009 12:09:18 +0000 (12:09 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 15 Jul 2009 12:09:18 +0000 (12:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75777 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/2005-02-27-MarkGlobalConstant.c
test/FrontendC/2007-02-16-WritableStrings.c

index 4d24d0c673172cb52a185b89a149ab9368d8c17f..b9fbbb6369a5c4b32684690046ed0f8a89d545db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -xc %s -S -o - | grep {internal constant }
+// RUN: %llvmgcc -xc %s -S -o - | grep {private constant }
 
 // The synthetic global made by the CFE for big initializer should be marked
 // constant.
index d11fa089dbab39d07d0101c0f13d463e7a976226..811e3301f8d038ce8773e39656a967eb1c0d5cac 100644 (file)
@@ -1,8 +1,7 @@
 // Test the -fwritable-strings option.
 
 // RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \
-// RUN:    grep {internal global}
-// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {internal constant}
+// RUN:    grep {private global}
+// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}
 
 char *X = "foo";
-