2019-10-08 00:12:37 +08:00
|
|
|
REQUIRES: zlib
|
|
|
|
# Round trip from text --> compressed extbinary --> text
|
|
|
|
RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.1.profdata %S/Inputs/sample-profile.proftext
|
|
|
|
RUN: llvm-profdata merge --sample --text -output=%t.1.proftext %t.1.profdata
|
2019-12-10 17:21:34 +08:00
|
|
|
RUN: diff -b %t.1.proftext %S/Inputs/sample-profile.proftext
|
2019-10-08 00:12:37 +08:00
|
|
|
# Round trip from text --> binary --> compressed extbinary --> text
|
|
|
|
RUN: llvm-profdata merge --sample --binary -output=%t.2.profdata %S/Inputs/sample-profile.proftext
|
|
|
|
RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.3.profdata %t.2.profdata
|
|
|
|
RUN: llvm-profdata merge --sample --text -output=%t.2.proftext %t.3.profdata
|
2019-12-05 06:47:05 +08:00
|
|
|
RUN: diff -b %t.2.proftext %S/Inputs/sample-profile.proftext
|