11 lines · plain
1REQUIRES: zlib2# Round trip from text --> compressed extbinary --> text3RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.1.profdata %S/Inputs/sample-profile.proftext4RUN: llvm-profdata merge --sample --text -output=%t.1.proftext %t.1.profdata5RUN: diff -b %t.1.proftext %S/Inputs/sample-profile.proftext6# Round trip from text --> binary --> compressed extbinary --> text7RUN: llvm-profdata merge --sample --binary -output=%t.2.profdata %S/Inputs/sample-profile.proftext8RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.3.profdata %t.2.profdata9RUN: llvm-profdata merge --sample --text -output=%t.2.proftext %t.3.profdata10RUN: diff -b %t.2.proftext %S/Inputs/sample-profile.proftext11