diff options
author | Kristina Brooks <kristina@nym.hush.com> | 2018-09-25 23:17:09 +0000 |
---|---|---|
committer | Kristina Brooks <kristina@nym.hush.com> | 2018-09-25 23:17:09 +0000 |
commit | 3ff077706452ac21b2194754a6580f69cde157da (patch) | |
tree | 64c211bd20be6a0ffb2e70918012ebe7552359f0 /clang/test/CodeGen/cfstring3.c | |
parent | abeedf1812eeb33578b97bb975ddbf5da4ae933c (diff) | |
download | bcm5719-llvm-3ff077706452ac21b2194754a6580f69cde157da.tar.gz bcm5719-llvm-3ff077706452ac21b2194754a6580f69cde157da.zip |
[clang-check-codegen][cfstring] Accept either @ or % for progbits to make ppc64be bots happy.
PPC64BE bots use % instead of @ for directives like progbits. Since CFString tests also
check asm output, they fail on the following:
cfstring3.c:44:19: error: CHECK-ASM-ELF: expected string not found in input
// CHECK-ASM-ELF: .section cfstring,"aw",@progbits
<stdin>:30:2: note: possible intended match here
.section cfstring,"aw",%progbits
Updating that check with a {{[@%]}}progbits regex to make those bots happy.
llvm-svn: 343044
Diffstat (limited to 'clang/test/CodeGen/cfstring3.c')
-rw-r--r-- | clang/test/CodeGen/cfstring3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/cfstring3.c b/clang/test/CodeGen/cfstring3.c index 48714f3d123..839ef656935 100644 --- a/clang/test/CodeGen/cfstring3.c +++ b/clang/test/CodeGen/cfstring3.c @@ -41,5 +41,5 @@ const CFStringRef two = (CFStringRef)__builtin___CFStringMakeConstantString("\xe // CHECK-MACHO64: @_unnamed_cfstring_.2 = private global %struct.__NSConstantString_tag { i32* getelementptr inbounds ([0 x i32], [0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 2000, i8* bitcast ([7 x i16]* @.str.1 to i8*), i64 6 }, section "__DATA,__cfstring", align 8 // CHECK-ASM-COFF: .section cfstring,"dw" -// CHECK-ASM-ELF: .section cfstring,"aw",@progbits +// CHECK-ASM-ELF: .section cfstring,"aw",{{[@%]}}progbits // CHECK-ASM-MACHO: .section __DATA,__cfstring |