File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
llvm/test/tools/llvm-profdata Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ REQUIRES: zlib
55; RUN: llvm-profdata show -sample -show-prof-sym-list %t.3.output > %t.4.output
66; RUN: diff -b %S/Inputs/profile-symbol-list.expected %t.4.output
77
8+ ;; Generate two SampleFDO binary profiles and merge them.
9+ ;; Tests that the vtable counters in the merged profile are the aggregated
10+ ;; result from both sources.
811; 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.output
912; 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.output
1013; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections -extbinary-write-vtable-type-prof %t.1.output %t.2.output -o %t.3.output
Original file line number Diff line number Diff line change 88
99; NOSYMLIST: ProfileSymbolListSection {{.*}} Size: 0
1010
11+ ;; Generate two SampleFDO binary profiles and merge them.
12+ ;; Tests that the vtable counters in the merged profile are the aggregated
13+ ;; result from both sources.
1114; RUN: llvm-profdata merge -sample -extbinary -extbinary-write-vtable-type-prof -prof-sym-list=%S/Inputs/profile-symbol-list-1.text %S/Inputs/sample-profile-ext.proftext -o %t.1.output
1215; RUN: llvm-profdata merge -sample -extbinary -extbinary-write-vtable-type-prof -prof-sym-list=%S/Inputs/profile-symbol-list-2.text %S/Inputs/sample-profile-ext.proftext -o %t.2.output
1316; RUN: llvm-profdata merge -sample -extbinary -extbinary-write-vtable-type-prof %t.1.output %t.2.output -o %t.3.output
You can’t perform that action at this time.
0 commit comments