mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 18:29:45 +00:00
String constants are now output with private linkage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
56b1d5d9de
commit
c3493cca4c
@ -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.
|
||||
|
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user