forked from OSchip/llvm-project
13 lines
738 B
Plaintext
13 lines
738 B
Plaintext
REQUIRES: zlib
|
|
; 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
|
|
; RUN: wc -c < %t.1.output > %t.txt
|
|
; RUN: llvm-profdata show -sample -show-sec-info-only %t.1.output >> %t.txt
|
|
; RUN: FileCheck %s --input-file=%t.txt
|
|
; CHECK: [[FILESIZE:.*]]
|
|
; To check llvm-profdata shows the correct flags for ProfileSummarySection.
|
|
; CHECK: ProfileSummarySection {{.*}} Flags: {compressed,partial}
|
|
; To check llvm-profdata shows the correct flags for NameTableSection.
|
|
; CHECK: NameTableSection {{.*}} Flags: {compressed,md5}
|
|
; To check llvm-profdata shows the correct file size.
|
|
; CHECK: [[FILESIZE]]
|