diff options
| author | Calixte Denizet <cdenizet@mozilla.com> | 2018-09-20 16:21:09 +0000 |
|---|---|---|
| committer | Calixte Denizet <cdenizet@mozilla.com> | 2018-09-20 16:21:09 +0000 |
| commit | 6dde0d42831fd992f8797e44341ec04392e62d0e (patch) | |
| tree | 2742e8ff62d88d22c22a562ff61e9a55e162b5d1 | |
| parent | 77bbd7b19db2ac6b39acc03cea6e65bf67b37847 (diff) | |
| download | bcm5719-llvm-6dde0d42831fd992f8797e44341ec04392e62d0e.tar.gz bcm5719-llvm-6dde0d42831fd992f8797e44341ec04392e62d0e.zip | |
[profile] Fix tests in compiler-rt for patch in gcov (https://reviews.llvm.org/D49659)
Summary: Some tests are broken if patch in D49659 is accepted so this patch fixes them.
Reviewers: marco-c
Reviewed By: marco-c
Subscribers: dberris, delcypher, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D49721
llvm-svn: 342661
3 files changed, 3 insertions, 5 deletions
diff --git a/compiler-rt/test/profile/Inputs/instrprof-gcov-exceptions.cpp.gcov b/compiler-rt/test/profile/Inputs/instrprof-gcov-exceptions.cpp.gcov index 7caf5080602..2a7b724887d 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-gcov-exceptions.cpp.gcov +++ b/compiler-rt/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:{ diff --git a/compiler-rt/test/profile/Inputs/instrprof-shared-main.c.gcov b/compiler-rt/test/profile/Inputs/instrprof-shared-main.c.gcov index 70be367507f..1636ca63598 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-shared-main.c.gcov +++ b/compiler-rt/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) 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 8839455189e..66b6429208a 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,5 +1,3 @@ -XFAIL: * - RUN: mkdir -p %t.d RUN: cd %t.d |

