11 lines · plain
1RUN: llvm-profdata overlap -cs %p/Inputs/overlap_1_cs.proftext %p/Inputs/overlap_2_cs.proftext | FileCheck %s -check-prefix=OVERLAP2RUN: llvm-profdata merge %p/Inputs/overlap_1_cs.proftext -o %t_1_cs.profdata3RUN: llvm-profdata merge %p/Inputs/overlap_2_cs.proftext -o %t_2_cs.profdata4RUN: llvm-profdata overlap -cs %t_1_cs.profdata %t_2_cs.profdata | FileCheck %s -check-prefix=OVERLAP5OVERLAP: Profile overlap information for base_profile: {{.*}} and test_profile:6OVERLAP: Program level:7OVERLAP: # of functions overlap: 18OVERLAP: Edge profile overlap: 80.000%9OVERLAP: Edge profile base count sum: 1000010OVERLAP: Edge profile test count sum: 1000011