[PATCH] D49721: [profile] Fix tests in compiler-rt for patch in gcov (https://reviews.llvm.org/D49659)

calixte via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 20 09:24:23 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT342661: [profile] Fix tests in compiler-rt for patch in gcov (https://reviews.llvm. (authored by calixte, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D49721?vs=166263&id=166314#toc

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D49721

Files:
  test/profile/Inputs/instrprof-gcov-exceptions.cpp.gcov
  test/profile/Inputs/instrprof-shared-main.c.gcov
  test/profile/instrprof-gcov-multiple-bbs-single-line.test


Index: test/profile/instrprof-gcov-multiple-bbs-single-line.test
===================================================================
--- test/profile/instrprof-gcov-multiple-bbs-single-line.test
+++ test/profile/instrprof-gcov-multiple-bbs-single-line.test
@@ -1,5 +1,3 @@
-XFAIL: *
-
 RUN: mkdir -p %t.d
 RUN: cd %t.d
 
Index: test/profile/Inputs/instrprof-gcov-exceptions.cpp.gcov
===================================================================
--- test/profile/Inputs/instrprof-gcov-exceptions.cpp.gcov
+++ test/profile/Inputs/instrprof-gcov-exceptions.cpp.gcov
@@ -6,7 +6,7 @@
 // CHECK-NEXT:        -:    1:#include <string>
 // CHECK-NEXT:        -:    2:
 // CHECK-NEXT:        -:    3:void asd(std::string i) {
-// CHECK-NEXT:        2:    4:}
+// CHECK-NEXT:        1:    4:}
 // CHECK-NEXT:        -:    5:
 // CHECK-NEXT:        -:    6:int main(void)
 // CHECK-NEXT:        -:    7:{
Index: test/profile/Inputs/instrprof-shared-main.c.gcov
===================================================================
--- test/profile/Inputs/instrprof-shared-main.c.gcov
+++ test/profile/Inputs/instrprof-shared-main.c.gcov
@@ -8,8 +8,8 @@
 // CHECK-NEXT:        -:    3:
 // CHECK-NEXT:        -:    4:int main() {
 // CHECK-NEXT:        -:    5:  int i, j;
-// CHECK-NEXT:     2002:    6:  for (i = 0; i < 1000; i++)
-// CHECK-NEXT:  2002000:    7:    for (j = 0; j < 1000; j++)
+// CHECK-NEXT:     1001:    6:  for (i = 0; i < 1000; i++)
+// CHECK-NEXT:  1001000:    7:    for (j = 0; j < 1000; j++)
 // CHECK-NEXT:  1001000:    8:      foo(i * j);
 // CHECK-NEXT:        -:    9:
 // CHECK-NEXT:        1:   10:  if (g2 - g1 == 280001)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49721.166314.patch
Type: text/x-patch
Size: 1646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180920/8171ff18/attachment.bin>


More information about the llvm-commits mailing list