Skip to content

Commit cdb0f79

Browse files
committed
Fix comment in test
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264792 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 1a266ba commit cdb0f79

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/profile/instrprof-value-prof.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,12 @@ int main(int argc, const char *argv[]) {
9090
qsort(CallerInfos, sizeof(CallerInfos) / sizeof(CallerInfo), sizeof(CallerInfo),
9191
cmpaddr);
9292

93-
/* We will synthesis value profile data for 128 callers functions.
94-
* The number of * value sites. The number values for each value site
95-
* ranges from 0 to 8. */
93+
/* We will synthesis value profile data for 128 callers functions declared.
94+
* The number of value sites for each caller function is recorded in
95+
* the NS field of the CallerInfo object. For each value site, the number of
96+
* callee values is determined by the site index (modulo 8). The frequency
97+
* of each callee target synthesized is equal to V + 1, in which V is the
98+
* index of the target value for the callsite. */
9699

97100
Data = __llvm_profile_begin_data();
98101
DataEnd = __llvm_profile_end_data();

0 commit comments

Comments
 (0)