1RUN: llvm-profdata overlap -cs %p/Inputs/overlap_1_cs.proftext %p/Inputs/overlap_2_cs.proftext | FileCheck %s -check-prefix=OVERLAP
2RUN: llvm-profdata merge %p/Inputs/overlap_1_cs.proftext -o %t_1_cs.profdata
3RUN: llvm-profdata merge %p/Inputs/overlap_2_cs.proftext -o %t_2_cs.profdata
4RUN: llvm-profdata overlap -cs %t_1_cs.profdata %t_2_cs.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: 10000
10OVERLAP:  Edge profile test count sum: 10000
11