[compiler-rt] bfce849 - [gcov][test] Delete UNSUPPORTED: host-byteorder-big-endian from test/profile tests

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 7 08:43:08 PDT 2020


Author: Fangrui Song
Date: 2020-06-07T08:42:57-07:00
New Revision: bfce849d831a6bc89e1c9c56e829d46aab127598

URL: https://github.com/llvm/llvm-project/commit/bfce849d831a6bc89e1c9c56e829d46aab127598
DIFF: https://github.com/llvm/llvm-project/commit/bfce849d831a6bc89e1c9c56e829d46aab127598.diff

LOG: [gcov][test] Delete UNSUPPORTED: host-byteorder-big-endian from test/profile tests

It seems that after dc52ce424bb1818b3270e20927447bf17e062e66, all big-endian problems have been fixed.

01899bb4e41178af6f4cf7b32833e661fe1e3322 seems to have fixed XFAIL: * of
profile/instrprof-gcov-__gcov_flush-terminate.test

This essentially reverts commit 5a9b792d7251e19f69f96c9619cde49497c79a07 and
93d5ae3af18f3e5d4232510274d59c1b4e5b8e77.

Added: 
    

Modified: 
    compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-terminate.c.gcov
    compiler-rt/test/profile/Posix/instrprof-dlopen-dlclose-gcov.test
    compiler-rt/test/profile/Posix/instrprof-gcov-execlp.test
    compiler-rt/test/profile/Posix/instrprof-gcov-execvp.test
    compiler-rt/test/profile/Posix/instrprof-gcov-fork.test
    compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
    compiler-rt/test/profile/Posix/instrprof-shared-gcov-flush.test
    compiler-rt/test/profile/instrprof-gcov-__gcov_flush-multiple.test
    compiler-rt/test/profile/instrprof-gcov-__gcov_flush-terminate.test
    compiler-rt/test/profile/instrprof-gcov-exceptions.test
    compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
    compiler-rt/test/profile/instrprof-gcov-one-line-function.test
    compiler-rt/test/profile/instrprof-gcov-switch.test
    compiler-rt/test/profile/instrprof-gcov-two-objects.test

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-terminate.c.gcov b/compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-terminate.c.gcov
index 1e3a56bd9edb..24a09066c25f 100644
--- a/compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-terminate.c.gcov
+++ b/compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-terminate.c.gcov
@@ -3,16 +3,16 @@
 // CHECK-NEXT:        -:    0:Data:instrprof-gcov-__gcov_flush-terminate.gcda
 // CHECK-NEXT:        -:    0:Runs:1
 // CHECK-NEXT:        -:    0:Programs:1
-// CHECK-NEXT:        -:    1:int main(void) {
+// CHECK-NEXT:        1:    1:int main(void) {
 // CHECK-NEXT:        1:    2:  int i = 22;
 // CHECK-NEXT:        -:    3:
 // CHECK-NEXT:        1:    4:  __gcov_flush();
 // CHECK-NEXT:        -:    5:
-// CHECK-NEXT:    #####:    6:  i = 42;
+// CHECK-NEXT:        1:    6:  i = 42;
 // CHECK-NEXT:        -:    7:
-// CHECK-NEXT:    #####:    8:  asm("int $3");
+// CHECK-NEXT:        1:    8:  asm("int $3");
 // CHECK-NEXT:        -:    9:
-// CHECK-NEXT:    #####:   10:  i = 84;
+// CHECK-NEXT:        1:   10:  i = 84;
 // CHECK-NEXT:        -:   11:
-// CHECK-NEXT:    #####:   12:  return 0;
+// CHECK-NEXT:        1:   12:  return 0;
 // CHECK-NEXT:        -:   13:}

diff  --git a/compiler-rt/test/profile/Posix/instrprof-dlopen-dlclose-gcov.test b/compiler-rt/test/profile/Posix/instrprof-dlopen-dlclose-gcov.test
index cdbc42e1fc09..b845303a8afd 100644
--- a/compiler-rt/test/profile/Posix/instrprof-dlopen-dlclose-gcov.test
+++ b/compiler-rt/test/profile/Posix/instrprof-dlopen-dlclose-gcov.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 # atexit(3) not supported in dlopen(3)ed+dlclose(3)d DSO
 XFAIL: netbsd
 

diff  --git a/compiler-rt/test/profile/Posix/instrprof-gcov-execlp.test b/compiler-rt/test/profile/Posix/instrprof-gcov-execlp.test
index f9d7614fa91b..1d136ce97907 100644
--- a/compiler-rt/test/profile/Posix/instrprof-gcov-execlp.test
+++ b/compiler-rt/test/profile/Posix/instrprof-gcov-execlp.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/Posix/instrprof-gcov-execvp.test b/compiler-rt/test/profile/Posix/instrprof-gcov-execvp.test
index c1fc35aa36bd..8e5cbc609509 100644
--- a/compiler-rt/test/profile/Posix/instrprof-gcov-execvp.test
+++ b/compiler-rt/test/profile/Posix/instrprof-gcov-execvp.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/Posix/instrprof-gcov-fork.test b/compiler-rt/test/profile/Posix/instrprof-gcov-fork.test
index 79319528c5b3..31b6a23be49c 100644
--- a/compiler-rt/test/profile/Posix/instrprof-gcov-fork.test
+++ b/compiler-rt/test/profile/Posix/instrprof-gcov-fork.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 UNSUPPORTED: linux
 UNSUPPORTED: darwin
 

diff  --git a/compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test b/compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
index e700d2dccc46..0c7198e3c4e9 100644
--- a/compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
+++ b/compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
@@ -1,5 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
-
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/Posix/instrprof-shared-gcov-flush.test b/compiler-rt/test/profile/Posix/instrprof-shared-gcov-flush.test
index d832f0b1f66a..8d530fd452a7 100644
--- a/compiler-rt/test/profile/Posix/instrprof-shared-gcov-flush.test
+++ b/compiler-rt/test/profile/Posix/instrprof-shared-gcov-flush.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 # This test fails on Mac (https://bugs.llvm.org/show_bug.cgi?id=38134)
 XFAIL: darwin
 

diff  --git a/compiler-rt/test/profile/instrprof-gcov-__gcov_flush-multiple.test b/compiler-rt/test/profile/instrprof-gcov-__gcov_flush-multiple.test
index 3eeb43c295dd..fdc93c93e0b0 100644
--- a/compiler-rt/test/profile/instrprof-gcov-__gcov_flush-multiple.test
+++ b/compiler-rt/test/profile/instrprof-gcov-__gcov_flush-multiple.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/instrprof-gcov-__gcov_flush-terminate.test b/compiler-rt/test/profile/instrprof-gcov-__gcov_flush-terminate.test
index 4b7bccb1329a..1c8ea2ac602d 100644
--- a/compiler-rt/test/profile/instrprof-gcov-__gcov_flush-terminate.test
+++ b/compiler-rt/test/profile/instrprof-gcov-__gcov_flush-terminate.test
@@ -1,6 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
-XFAIL: *
-
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/instrprof-gcov-exceptions.test b/compiler-rt/test/profile/instrprof-gcov-exceptions.test
index b6eab2b8c566..a3dcc55aaf5b 100644
--- a/compiler-rt/test/profile/instrprof-gcov-exceptions.test
+++ b/compiler-rt/test/profile/instrprof-gcov-exceptions.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test b/compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
index 46cb120a5084..66b6429208a0 100644
--- a/compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
+++ b/compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/instrprof-gcov-one-line-function.test b/compiler-rt/test/profile/instrprof-gcov-one-line-function.test
index 82da731961d1..d67c21a863bf 100644
--- a/compiler-rt/test/profile/instrprof-gcov-one-line-function.test
+++ b/compiler-rt/test/profile/instrprof-gcov-one-line-function.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/instrprof-gcov-switch.test b/compiler-rt/test/profile/instrprof-gcov-switch.test
index ade54c9784f4..9c43a93dc646 100644
--- a/compiler-rt/test/profile/instrprof-gcov-switch.test
+++ b/compiler-rt/test/profile/instrprof-gcov-switch.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 

diff  --git a/compiler-rt/test/profile/instrprof-gcov-two-objects.test b/compiler-rt/test/profile/instrprof-gcov-two-objects.test
index 9ba312411097..4080caa7fdd9 100644
--- a/compiler-rt/test/profile/instrprof-gcov-two-objects.test
+++ b/compiler-rt/test/profile/instrprof-gcov-two-objects.test
@@ -1,4 +1,3 @@
-UNSUPPORTED: host-byteorder-big-endian
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 


        


More information about the llvm-commits mailing list