[clang-check-codegen][cfstring] Accept either @ or % for progbits to make ppc64be...
authorKristina Brooks <kristina@nym.hush.com>
Tue, 25 Sep 2018 23:17:09 +0000 (23:17 +0000)
committerKristina Brooks <kristina@nym.hush.com>
Tue, 25 Sep 2018 23:17:09 +0000 (23:17 +0000)
commit3ff077706452ac21b2194754a6580f69cde157da
tree64c211bd20be6a0ffb2e70918012ebe7552359f0
parentabeedf1812eeb33578b97bb975ddbf5da4ae933c
[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
clang/test/CodeGen/cfstring3.c