[compiler-rt] r336942 - Simplify instrprof-dlopen-dlclose-gcov.test to avoid failures on Aarch64.

Marco Castelluccio via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 13:28:09 PDT 2018


Author: marco
Date: Thu Jul 12 13:28:09 2018
New Revision: 336942

URL: http://llvm.org/viewvc/llvm-project?rev=336942&view=rev
Log:
Simplify instrprof-dlopen-dlclose-gcov.test to avoid failures on Aarch64.

The test for a function with an if block in a single line (https://bugs.llvm.org/show_bug.cgi?id=38065) will be moved to a separate test.

Modified:
    compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c
    compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c.gcov
    compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c
    compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c.gcov
    compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c
    compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c.gcov

Modified: compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c?rev=336942&r1=336941&r2=336942&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c (original)
+++ compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c Thu Jul 12 13:28:09 2018
@@ -1 +1 @@
-void func(int K) { if (K) {} }
+void func(int K) {}

Modified: compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c.gcov
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c.gcov?rev=336942&r1=336941&r2=336942&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c.gcov (original)
+++ compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func.c.gcov Thu Jul 12 13:28:09 2018
@@ -3,4 +3,4 @@
 // CHECK-NEXT:        -:    0:Data:instrprof-dlopen-func.gcda
 // CHECK-NEXT:        -:    0:Runs:1
 // CHECK-NEXT:        -:    0:Programs:1
-// CHECK-NEXT:        3:    1:void func(int K) { if (K) {} }
+// CHECK-NEXT:        1:    1:void func(int K) {}

Modified: compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c?rev=336942&r1=336941&r2=336942&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c (original)
+++ compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c Thu Jul 12 13:28:09 2018
@@ -1 +1 @@
-void func2(int K) { if (K) {} }
+void func2(int K) {}

Modified: compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c.gcov
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c.gcov?rev=336942&r1=336941&r2=336942&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c.gcov (original)
+++ compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func2.c.gcov Thu Jul 12 13:28:09 2018
@@ -3,4 +3,4 @@
 // CHECK-NEXT:        -:    0:Data:instrprof-dlopen-func2.gcda
 // CHECK-NEXT:        -:    0:Runs:1
 // CHECK-NEXT:        -:    0:Programs:1
-// CHECK-NEXT:        3:    1:void func2(int K) { if (K) {} }
+// CHECK-NEXT:        1:    1:void func2(int K) {}

Modified: compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c?rev=336942&r1=336941&r2=336942&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c (original)
+++ compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c Thu Jul 12 13:28:09 2018
@@ -1 +1 @@
-void func3(int K) { if (K) {} }
+void func3(int K) {}

Modified: compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c.gcov
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c.gcov?rev=336942&r1=336941&r2=336942&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c.gcov (original)
+++ compiler-rt/trunk/test/profile/Inputs/instrprof-dlopen-func3.c.gcov Thu Jul 12 13:28:09 2018
@@ -3,4 +3,4 @@
 // CHECK-NEXT:        -:    0:Data:instrprof-dlopen-func2.gcda
 // CHECK-NEXT:        -:    0:Runs:1
 // CHECK-NEXT:        -:    0:Programs:1
-// CHECK-NEXT:        3:    1:void func2(int K) { if (K) {} }
+// CHECK-NEXT:        1:    1:void func2(int K) {}




More information about the llvm-commits mailing list