Skip to content

Commit 73acffe

Browse files
author
Jesus Checa Hidalgo
committed
Add XFAIL: s390x to whole-toolchain testcases
With the new s390x support for lld these testcases run now but are expected to fail as '-rtlib=compiler-rt' will fail due to unsupported builtins in the arch
1 parent ee8d3e5 commit 73acffe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/whole-toolchain.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// REQUIRES: clang, lld, compiler-rt
33
// RUN: %clang -fuse-ld=lld -rtlib=compiler-rt %s -o %t
44
// RUN: %t | grep "Hello World"
5+
// s390x now runs but fails because it does not support compiler-rt builtins.
6+
// XFAIL: s390x
57

68
#include<stdio.h>
79
int main(int argc, char **argv) {

tests/whole-toolchain.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// alternative would be to force usage of LLVM unwinder when building compiler-rt.
66
// RUN: %clangxx -fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++ -lgcc_eh %s -o %t
77
// RUN: %t | grep "Hello World"
8+
// s390x now runs but fails because it does not support compiler-rt builtins.
9+
// XFAIL: s390x
810

911
#include <iostream>
1012
int main(int argc, char **argv) {

0 commit comments

Comments
 (0)