summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test')
-rw-r--r--llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test b/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
new file mode 100644
index 00000000000..66b0543d7a4
--- /dev/null
+++ b/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
@@ -0,0 +1,6 @@
+REQUIRES: zlib
+; 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
+; 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
+; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections %t.1.output %t.2.output -o %t.3.output
+; RUN: llvm-profdata show -sample -show-prof-sym-list %t.3.output > %t.4.output
+; RUN: diff %S/Inputs/profile-symbol-list.expected %t.4.output
OpenPOWER on IntegriCloud