xref: /llvm-project/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test (revision 23e63a906d0387d5ac7e4d3a57401f016b14c677)
1REQUIRES: zlib
2; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections -prof-sym-list=%S/Inputs/profile-symbol-list-1.text %S/Inputs/sample-profile.proftext -o %t.1.output
3; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections -prof-sym-list=%S/Inputs/profile-symbol-list-2.text %S/Inputs/sample-profile.proftext -o %t.2.output
4; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections %t.1.output %t.2.output -o %t.3.output
5; RUN: llvm-profdata show -sample -show-prof-sym-list %t.3.output > %t.4.output
6; RUN: diff -b %S/Inputs/profile-symbol-list.expected %t.4.output
7