Skip to content

Commit 6e51367

Browse files
quic-garvguptfschlimb
authored andcommitted
Fix tests failing on fuchsia clang x86_64 builders (llvm#144655)
Fuchsia sets CLANG_DEFAULT_UNWINDLIB to libunwind. As a result, when rtlib is set to libgcc and unwindlib is not explicitly specified, tests using Fuchsia as the default platform will fail. To address this, the affected tests are now xfailed This change fixes the following tests introduced in llvm@45ea46c: clang/test/Driver/aarch64-toolchain-extra.c clang/test/Driver/arm-toolchain-extra.c clang/test/Driver/aarch64-toolchain.c clang/test/Driver/arm-toolchain.c
1 parent 4c18209 commit 6e51367

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

clang/test/Driver/aarch64-toolchain-extra.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// The tests here are similar to those in aarch64-toolchain.c, however
44
// these tests need to create symlinks to test directory trees in order to
55
// set up the environment and therefore shell support is required.
6+
// XFAIL: target={{.*}}-fuchsia{{.*}}
67
// REQUIRES: shell
78
// UNSUPPORTED: system-windows
89

clang/test/Driver/aarch64-toolchain.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: target={{.*}}-fuchsia{{.*}}
12
// UNSUPPORTED: system-windows
23

34
// RUN: %clang -### %s -fuse-ld= \

clang/test/Driver/arm-toolchain-extra.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// The tests here are similar to those in arm-toolchain.c, however
44
// these tests need to create symlinks to test directory trees in order to
55
// set up the environment and therefore shell support is required.
6+
// XFAIL: target={{.*}}-fuchsia{{.*}}
67
// REQUIRES: shell
78
// UNSUPPORTED: system-windows
89

clang/test/Driver/arm-toolchain.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: target={{.*}}-fuchsia{{.*}}
12
// UNSUPPORTED: system-windows
23

34
// RUN: %clang -### %s -fuse-ld= \

0 commit comments

Comments
 (0)