[llvm-commits] [llvm] r75777 - in /llvm/trunk/test/FrontendC: 2005-02-27-MarkGlobalConstant.c 2007-02-16-WritableStrings.c
Duncan Sands
baldrick at free.fr
Wed Jul 15 05:09:18 PDT 2009
Author: baldrick
Date: Wed Jul 15 07:09:18 2009
New Revision: 75777
URL: http://llvm.org/viewvc/llvm-project?rev=75777&view=rev
Log:
String constants are now output with private linkage.
Modified:
llvm/trunk/test/FrontendC/2005-02-27-MarkGlobalConstant.c
llvm/trunk/test/FrontendC/2007-02-16-WritableStrings.c
Modified: llvm/trunk/test/FrontendC/2005-02-27-MarkGlobalConstant.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2005-02-27-MarkGlobalConstant.c?rev=75777&r1=75776&r2=75777&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2005-02-27-MarkGlobalConstant.c (original)
+++ llvm/trunk/test/FrontendC/2005-02-27-MarkGlobalConstant.c Wed Jul 15 07:09:18 2009
@@ -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.
Modified: llvm/trunk/test/FrontendC/2007-02-16-WritableStrings.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2007-02-16-WritableStrings.c?rev=75777&r1=75776&r2=75777&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2007-02-16-WritableStrings.c (original)
+++ llvm/trunk/test/FrontendC/2007-02-16-WritableStrings.c Wed Jul 15 07:09:18 2009
@@ -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";
-
More information about the llvm-commits
mailing list