[clang] c175d80 - [clang][test] Recognize leading unscore for macos
Alex Brachet via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 18 14:03:38 PDT 2022
Author: Alex Brachet
Date: 2022-08-18T21:03:28Z
New Revision: c175d80be2ed496debb98d47f315aa5e60116768
URL: https://github.com/llvm/llvm-project/commit/c175d80be2ed496debb98d47f315aa5e60116768
DIFF: https://github.com/llvm/llvm-project/commit/c175d80be2ed496debb98d47f315aa5e60116768.diff
LOG: [clang][test] Recognize leading unscore for macos
Additionally mark this test unsupported for ps5 in addition
to ps4, niether support -fuse-ld=
Added:
Modified:
clang/test/Driver/lld-repro.c
Removed:
################################################################################
diff --git a/clang/test/Driver/lld-repro.c b/clang/test/Driver/lld-repro.c
index 26b5846e8a49..7436d1a1f59b 100644
--- a/clang/test/Driver/lld-repro.c
+++ b/clang/test/Driver/lld-repro.c
@@ -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
More information about the cfe-commits
mailing list