2 ; RUN: llvm-profdata merge -sample -extbinary -use-md5 -compress-all-sections -gen-partial-profile -prof-sym-list=%S/Inputs/profile-symbol-list-1.text %S/Inputs/sample-profile.proftext -o %t.1.output
3 ; RUN: wc -c < %t.1.output > %t.txt
4 ; RUN: llvm-profdata show -sample -show-sec-info-only %t.1.output >> %t.txt
5 ; RUN: FileCheck %s --input-file=%t.txt
6 ; CHECK: [[FILESIZE:.*]]
7 ; To check llvm-profdata shows the correct flags for ProfileSummarySection.
8 ; CHECK: ProfileSummarySection {{.*}} Flags: {compressed,partial}
9 ; To check llvm-profdata shows the correct flags for NameTableSection.
10 ; CHECK: NameTableSection {{.*}} Flags: {compressed,fixlenmd5}
11 ; To check llvm-profdata shows the correct file size.