diff --git a/compiler-rt/test/profile/Posix/gcov-fork.c b/compiler-rt/test/profile/Posix/gcov-fork.c index 67fe68cc3c71..4942d5ac9288 100644 --- a/compiler-rt/test/profile/Posix/gcov-fork.c +++ b/compiler-rt/test/profile/Posix/gcov-fork.c @@ -2,6 +2,8 @@ /// fork/exec* so the lines before fork are counted once while succeeding /// lines are counted twice. // UNSUPPORTED: darwin +/// FIXME: http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/50913 +// UNSUPPORTED: host-byteorder-big-endian // RUN: mkdir -p %t.d && cd %t.d // RUN: %clang --coverage %s -o %t @@ -16,7 +18,7 @@ void func1() {} // CHECK: 1: [[#@LINE]]:void func1() void func2() {} // CHECK-NEXT: 2: [[#@LINE]]: int main(void) { // CHECK-NEXT: 1: [[#@LINE]]: func1(); // CHECK-NEXT: 1: [[#@LINE]]: - fork(); // CHECK-NEXT: 1: [[#@LINE]]: + if (fork() == -1) return 1; // CHECK-NEXT: 1: [[#@LINE]]: func2(); // CHECK-NEXT: 2: [[#@LINE]]: return 0; // CHECK-NEXT: 2: [[#@LINE]]: }