[compiler-rt] r264792 - Fix comment in test

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 17:50:52 PDT 2016


Thanks!

-- Sean Silva

On Tue, Mar 29, 2016 at 2:53 PM, Xinliang David Li via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: davidxl
> Date: Tue Mar 29 16:53:08 2016
> New Revision: 264792
>
> URL: http://llvm.org/viewvc/llvm-project?rev=264792&view=rev
> Log:
> Fix comment in test
>
> Modified:
>     compiler-rt/trunk/test/profile/instrprof-value-prof.c
>
> Modified: compiler-rt/trunk/test/profile/instrprof-value-prof.c
> URL:
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-value-prof.c?rev=264792&r1=264791&r2=264792&view=diff
>
> ==============================================================================
> --- compiler-rt/trunk/test/profile/instrprof-value-prof.c (original)
> +++ compiler-rt/trunk/test/profile/instrprof-value-prof.c Tue Mar 29
> 16:53:08 2016
> @@ -90,9 +90,12 @@ int main(int argc, const char *argv[]) {
>    qsort(CallerInfos, sizeof(CallerInfos) / sizeof(CallerInfo),
> sizeof(CallerInfo),
>          cmpaddr);
>
> -  /* We will synthesis value profile data for 128 callers functions.
> -   * The number of * value sites. The number values for each value site
> -   * ranges from 0 to 8.  */
> +  /* We will synthesis value profile data for 128 callers functions
> declared.
> +   * The number of value sites for each caller function is recorded in
> +   * the NS field of the CallerInfo object. For each value site, the
> number of
> +   * callee values is determined by the site index (modulo 8). The
> frequency
> +   * of each callee target synthesized is equal to V + 1, in which V is
> the
> +   * index of the target value for the callsite. */
>
>    Data = __llvm_profile_begin_data();
>    DataEnd = __llvm_profile_end_data();
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160329/00033e8a/attachment.html>


More information about the llvm-commits mailing list