1RUN: llvm-profdata overlap %p/Inputs/overlap_1_vp.proftext %p/Inputs/overlap_2_vp.proftext | FileCheck %s -check-prefix=OVERLAP
2RUN: llvm-profdata merge %p/Inputs/overlap_1_vp.proftext -o %t_1_vp.profdata
3RUN: llvm-profdata merge %p/Inputs/overlap_2_vp.proftext -o %t_2_vp.profdata
4RUN: llvm-profdata overlap %t_1_vp.profdata %t_2_vp.profdata | FileCheck %s -check-prefix=OVERLAP
5OVERLAP: Profile overlap infomation for base_profile: {{.*}} and test_profile:
6OVERLAP: Program level:
7OVERLAP:   # of functions overlap: 1
8OVERLAP:   Edge profile overlap: 80.000%
9OVERLAP:   Edge profile base count sum: 100000
10OVERLAP:   Edge profile test count sum: 50000
11OVERLAP:   IndirectCall profile overlap: 80.000%
12OVERLAP:   IndirectCall profile base count sum: 100000
13OVERLAP:   IndirectCall profile test count sum: 50000
14OVERLAP:   MemOP profile overlap: 80.000%
15OVERLAP:   MemOP profile base count sum: 100000
16OVERLAP:   MemOP profile test count sum: 5000
17