forked from OSchip/llvm-project
[profile] Revert commit https://reviews.llvm.org/rL342718
llvm-svn: 342913
This commit is contained in:
parent
fcd661d278
commit
d32508a932
|
@ -87,5 +87,5 @@
|
|||
// CHECK-NEXT: #####: 82: g2++;
|
||||
// CHECK-NEXT: -: 83:
|
||||
// CHECK-NEXT: 1: 84: return EXIT_SUCCESS;
|
||||
// CHECK-NEXT: -: 85:}
|
||||
// CHECK-NEXT: 1: 85:}
|
||||
// CHECK-NEXT: -: 86:
|
||||
|
|
|
@ -87,5 +87,5 @@
|
|||
// CHECK-NEXT: #####: 82: g2++;
|
||||
// CHECK-NEXT: -: 83:
|
||||
// CHECK-NEXT: 1: 84: return EXIT_SUCCESS;
|
||||
// CHECK-NEXT: -: 85:}
|
||||
// CHECK-NEXT: 1: 85:}
|
||||
// CHECK-NEXT: -: 86:
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
// CHECK-NEXT: -: 0:Data:instrprof-dlopen-func.gcda
|
||||
// CHECK-NEXT: -: 0:Runs:1
|
||||
// CHECK-NEXT: -: 0:Programs:1
|
||||
// CHECK-NEXT: -: 1:void func(int K) {}
|
||||
// CHECK-NEXT: 1: 1:void func(int K) {}
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
// CHECK-NEXT: -: 0:Data:instrprof-dlopen-func2.gcda
|
||||
// CHECK-NEXT: -: 0:Runs:1
|
||||
// CHECK-NEXT: -: 0:Programs:1
|
||||
// CHECK-NEXT: -: 1:void func2(int K) {}
|
||||
// CHECK-NEXT: 1: 1:void func2(int K) {}
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
// CHECK-NEXT: -: 0:Data:instrprof-dlopen-func2.gcda
|
||||
// CHECK-NEXT: -: 0:Runs:1
|
||||
// CHECK-NEXT: -: 0:Programs:1
|
||||
// CHECK-NEXT: -: 1:void func2(int K) {}
|
||||
// CHECK-NEXT: 1: 1:void func2(int K) {}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// CHECK-NEXT: -: 1:#include <string>
|
||||
// CHECK-NEXT: -: 2:
|
||||
// CHECK-NEXT: -: 3:void asd(std::string i) {
|
||||
// CHECK-NEXT: -: 4:}
|
||||
// CHECK-NEXT: 1: 4:}
|
||||
// CHECK-NEXT: -: 5:
|
||||
// CHECK-NEXT: -: 6:int main(void)
|
||||
// CHECK-NEXT: -: 7:{
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
// CHECK-NEXT:branch 0 taken 1
|
||||
// CHECK-NEXT:branch 1 taken 0
|
||||
// CHECK-NEXT: 1: 7: var++;
|
||||
// CHECK-NEXT: -: 8: }
|
||||
// CHECK-NEXT: 1: 8: }
|
||||
// CHECK-NEXT: -: 9:
|
||||
// CHECK-NEXT: 1: 10: if (a) {}
|
||||
// CHECK-NEXT:branch 0 taken 1
|
||||
|
@ -24,7 +24,7 @@
|
|||
// CHECK-NEXT:branch 0 taken 0
|
||||
// CHECK-NEXT:branch 1 taken 1
|
||||
// CHECK-NEXT: #####: 14: var++;
|
||||
// CHECK-NEXT: -: 15: }
|
||||
// CHECK-NEXT: #####: 15: }
|
||||
// CHECK-NEXT: -: 16:
|
||||
// CHECK-NEXT: 1: 17: if (b) {}
|
||||
// CHECK-NEXT:branch 0 taken 0
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
// CHECK-NEXT: #####: 6: g1++;
|
||||
// CHECK-NEXT: -: 7: else
|
||||
// CHECK-NEXT: 1: 8: g2++;
|
||||
// CHECK-NEXT: -: 9:}
|
||||
// CHECK-NEXT: 1: 9:}
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
// CHECK-NEXT: #####: 6: g1++;
|
||||
// CHECK-NEXT: -: 7: else
|
||||
// CHECK-NEXT: 2: 8: g2++;
|
||||
// CHECK-NEXT: -: 9:}
|
||||
// CHECK-NEXT: 2: 9:}
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
// CHECK-NEXT: 360000: 6: g1++;
|
||||
// CHECK-NEXT: -: 7: else
|
||||
// CHECK-NEXT: 640000: 8: g2++;
|
||||
// CHECK-NEXT: -: 9:}
|
||||
// CHECK-NEXT: 1000000: 9:}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
// CHECK-NEXT: 1: 9: bar1++;
|
||||
// CHECK-NEXT: -: 10: else
|
||||
// CHECK-NEXT: #####: 11: bar2++;
|
||||
// CHECK-NEXT: -: 12:}
|
||||
// CHECK-NEXT: 1: 12:}
|
||||
// CHECK-NEXT: -: 13:
|
||||
// CHECK-NEXT: -: 14:int main(int argc, char *argv[]) {
|
||||
// CHECK-NEXT: -: 15:#ifdef SHARED_CALL_BEFORE_GCOV_FLUSH
|
||||
|
@ -38,4 +38,4 @@
|
|||
// CHECK-NEXT: -: 33: bar(5);
|
||||
// CHECK-NEXT: -: 34:
|
||||
// CHECK-NEXT: -: 35: return 0;
|
||||
// CHECK-NEXT: -: 36:}
|
||||
// CHECK-NEXT: #####: 36:}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
// CHECK-NEXT: 3: 9: bar1++;
|
||||
// CHECK-NEXT: -: 10: else
|
||||
// CHECK-NEXT: #####: 11: bar2++;
|
||||
// CHECK-NEXT: -: 12:}
|
||||
// CHECK-NEXT: 3: 12:}
|
||||
// CHECK-NEXT: -: 13:
|
||||
// CHECK-NEXT: -: 14:int main(int argc, char *argv[]) {
|
||||
// CHECK-NEXT: -: 15:#ifdef SHARED_CALL_BEFORE_GCOV_FLUSH
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
// CHECK-NEXT: 3: 9: bar1++;
|
||||
// CHECK-NEXT: -: 10: else
|
||||
// CHECK-NEXT: #####: 11: bar2++;
|
||||
// CHECK-NEXT: -: 12:}
|
||||
// CHECK-NEXT: 3: 12:}
|
||||
// CHECK-NEXT: -: 13:
|
||||
// CHECK-NEXT: -: 14:int main(int argc, char *argv[]) {
|
||||
// CHECK-NEXT: -: 15:#ifdef SHARED_CALL_BEFORE_GCOV_FLUSH
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
// CHECK-NEXT: 3: 9: bar1++;
|
||||
// CHECK-NEXT: -: 10: else
|
||||
// CHECK-NEXT: #####: 11: bar2++;
|
||||
// CHECK-NEXT: -: 12:}
|
||||
// CHECK-NEXT: 3: 12:}
|
||||
// CHECK-NEXT: -: 13:
|
||||
// CHECK-NEXT: -: 14:int main(int argc, char *argv[]) {
|
||||
// CHECK-NEXT: -: 15:#ifdef SHARED_CALL_BEFORE_GCOV_FLUSH
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
// CHECK-NEXT: -: 5: int i, j;
|
||||
// CHECK-NEXT: 1001: 6: for (i = 0; i < 1000; i++)
|
||||
// CHECK-NEXT: 1001000: 7: for (j = 0; j < 1000; j++)
|
||||
// CHECK-NEXT: 1000000: 8: foo(i * j);
|
||||
// CHECK-NEXT: 1001000: 8: foo(i * j);
|
||||
// CHECK-NEXT: -: 9:
|
||||
// CHECK-NEXT: 1: 10: if (g2 - g1 == 280001)
|
||||
// CHECK-NEXT: 1: 11: return 0;
|
||||
// CHECK-NEXT: #####: 12: return 1;
|
||||
// CHECK-NEXT: -: 13:}
|
||||
// CHECK-NEXT: 1: 13:}
|
||||
|
|
|
@ -17,4 +17,5 @@ RUN: test -f instrprof-gcov-exceptions.gcno
|
|||
RUN: rm -f instrprof-gcov-exceptions.gcda
|
||||
RUN: %run %t
|
||||
RUN: llvm-cov gcov instrprof-gcov-exceptions.gcda
|
||||
RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-exceptions.cpp.gcov %S/Inputs/instrprof-gcov-exceptions.cpp.gcov
|
||||
# The result should be the same, not using XFAIL as only this part of the test is failing.
|
||||
RUN: not FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-exceptions.cpp.gcov %S/Inputs/instrprof-gcov-exceptions.cpp.gcov
|
||||
|
|
Loading…
Reference in New Issue