From: Warren Hunt Date: Tue, 8 Apr 2014 22:49:38 +0000 (+0000) Subject: [MS-ABI] Lit fix for r205810 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c149c186efe06952e4d94c1b344ca6b2a7d8276;p=clang [MS-ABI] Lit fix for r205810 On linux strings have different linkage than on windows. This patch makes the lit test more general. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205812 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/sections.c b/test/CodeGen/sections.c index 6e44e77f5b..8d93fed480 100644 --- a/test/CodeGen/sections.c +++ b/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"