Home | History | Annotate | Download | only in llvm-profdata
      1 RUN: llvm-profdata merge %p/Inputs/foo3-1.profdata %p/Inputs/foo4-1.profdata -o %t.out 2>&1 | FileCheck %s --check-prefix=HASH
      2 HASH: foo4-1.profdata: foo: Function hash mismatch
      3 
      4 RUN: llvm-profdata merge %p/Inputs/overflow.profdata %p/Inputs/overflow.profdata -o %t.out 2>&1 | FileCheck %s --check-prefix=OVERFLOW
      5 OVERFLOW: overflow.profdata: overflow: Counter overflow
      6 
      7 RUN: not llvm-profdata show %p/Inputs/invalid-count-later.profdata 2>&1 | FileCheck %s --check-prefix=INVALID-COUNT-LATER
      8 RUN: not llvm-profdata merge %p/Inputs/invalid-count-later.profdata %p/Inputs/invalid-count-later.profdata -o %t.out 2>&1 | FileCheck %s --check-prefix=INVALID-COUNT-LATER
      9 INVALID-COUNT-LATER: error: {{.*}}invalid-count-later.profdata: Malformed profile data
     10 
     11 RUN: not llvm-profdata show %p/Inputs/bad-hash.profdata 2>&1 | FileCheck %s --check-prefix=BAD-HASH
     12 RUN: not llvm-profdata merge %p/Inputs/bad-hash.profdata %p/Inputs/bad-hash.profdata -o %t.out 2>&1 | FileCheck %s --check-prefix=BAD-HASH
     13 BAD-HASH: error: {{.*}}bad-hash.profdata: Malformed profile data
     14 
     15 RUN: not llvm-profdata show %p/Inputs/no-counts.profdata 2>&1 | FileCheck %s --check-prefix=NO-COUNTS
     16 NO-COUNTS: error: {{.*}}no-counts.profdata: Malformed profile data
     17