summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/sections.c
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2014-04-08 22:49:38 +0000
committerWarren Hunt <whunt@google.com>2014-04-08 22:49:38 +0000
commit975d58c0f9071c0c53c62e9befa50f6773f00252 (patch)
treecd6c068bd55d0aa28478a76ec787c98c5676c9f5 /clang/test/CodeGen/sections.c
parenta9bdb32f045fefc4d750c941ed4dbd436475367a (diff)
downloadbcm5719-llvm-975d58c0f9071c0c53c62e9befa50f6773f00252.tar.gz
bcm5719-llvm-975d58c0f9071c0c53c62e9befa50f6773f00252.zip
[MS-ABI] Lit fix for r205810
On linux strings have different linkage than on windows. This patch makes the lit test more general. llvm-svn: 205812
Diffstat (limited to 'clang/test/CodeGen/sections.c')
-rw-r--r--clang/test/CodeGen/sections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/sections.c b/clang/test/CodeGen/sections.c
index 6e44e77f5b1..8d93fed480e 100644
--- a/clang/test/CodeGen/sections.c
+++ b/clang/test/CodeGen/sections.c
@@ -38,7 +38,7 @@ int TEST2;
//CHECK: @D = global i32 1
//CHECK: @a = global i32 1, section ".data"
//CHECK: @b = constant i32 1, section ".my_const"
-//CHECK: @[[MYSTR:.*]] = linkonce_odr unnamed_addr constant [11 x i8] c"my string!\00"
+//CHECK: @[[MYSTR:.*]] = {{.*}} unnamed_addr constant [11 x i8] c"my string!\00"
//CHECK: @s = global i8* getelementptr inbounds ([11 x i8]* @[[MYSTR]], i32 0, i32 0), section ".data2"
//CHECK: @c = global i32 1, section ".my_seg"
//CHECK: @d = global i32 1, section ".data"
OpenPOWER on IntegriCloud