[clang][test] Recognize leading unscore for macos

Additionally mark this test unsupported for ps5 in addition
to ps4, niether support -fuse-ld=
This commit is contained in:
Alex Brachet 2022-08-18 21:02:35 +00:00
parent 252cea037b
commit c175d80be2
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
// REQUIRES: lld
// UNSUPPORTED: ps4
// UNSUPPORTED: ps4, ps5
// RUN: not %clang %s -nostartfiles -nostdlib -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t -fcrash-diagnostics=all 2>&1 \
// RUN: | FileCheck %s
// check that we still get lld's output
// CHECK: error: undefined symbol: a
// CHECK: error: undefined symbol: {{_?}}a
// CHECK: Preprocessed source(s) and associated run script(s) are located at:
// CHECK-NEXT: note: diagnostic msg: {{.*}}lld-repro-{{.*}}.c