1REQUIRES: zlib
2# Round trip from text --> compressed extbinary --> text
3RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.1.profdata %S/Inputs/sample-profile.proftext
4RUN: llvm-profdata merge --sample --text -output=%t.1.proftext %t.1.profdata
5RUN: diff -b %t.1.proftext %S/Inputs/sample-profile.proftext
6# Round trip from text --> binary --> compressed extbinary --> text
7RUN: llvm-profdata merge --sample --binary -output=%t.2.profdata %S/Inputs/sample-profile.proftext
8RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.3.profdata %t.2.profdata
9RUN: llvm-profdata merge --sample --text -output=%t.2.proftext %t.3.profdata
10RUN: diff -b %t.2.proftext %S/Inputs/sample-profile.proftext
11