Skip to content

Commit 7fba316

Browse files
add comment for test cases
1 parent d217ea3 commit 7fba316

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

llvm/test/tools/llvm-profdata/profile-symbol-list.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
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

0 commit comments

Comments
 (0)