brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 8383bcc Raw
16 lines · plain
1REQUIRES: zlib2; 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.output3; 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.output4; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections %t.1.output %t.2.output -o %t.3.output5; RUN: llvm-profdata show -sample -show-prof-sym-list %t.3.output > %t.4.output6; RUN: diff -b %S/Inputs/profile-symbol-list.expected %t.4.output7 8;; Generate two SampleFDO binary profiles and merge them.9;; Tests that the vtable counters in the merged profile are the aggregated10;; result from both sources.11; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections -extbinary-write-vtable-type-prof -prof-sym-list=%S/Inputs/profile-symbol-list-1.text %S/Inputs/sample-profile-ext.proftext -o %t.1.output12; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections -extbinary-write-vtable-type-prof -prof-sym-list=%S/Inputs/profile-symbol-list-2.text %S/Inputs/sample-profile-ext.proftext -o %t.2.output13; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections -extbinary-write-vtable-type-prof %t.1.output %t.2.output -o %t.3.output14; RUN: llvm-profdata show -sample -show-prof-sym-list %t.3.output > %t.4.output15; RUN: diff -b %S/Inputs/profile-symbol-list-ext.expected %t.4.output16