https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99105

--- Comment #18 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>:

https://gcc.gnu.org/g:6a8fc0c31a9ae759fe9bf59b5418abf2af938f91

commit r11-7513-g6a8fc0c31a9ae759fe9bf59b5418abf2af938f91
Author: Martin Liska <mli...@suse.cz>
Date:   Tue Feb 16 16:28:06 2021 +0100

    profiling: fix streaming of TOPN counters

    libgcc/ChangeLog:

            PR gcov-profile/99105
            * libgcov-driver.c (write_top_counters): Rename to ...
            (write_topn_counters): ... this.
            (write_one_data): Pre-allocate buffer for number of items
            in the corresponding linked lists.
            * libgcov.h (malloc_mmap): New function.
            (allocate_gcov_kvp): Use it.

    gcc/testsuite/ChangeLog:

            PR gcov-profile/99105
            * gcc.dg/tree-prof/indir-call-prof-malloc.c: Use profile
            correction as the wrapped malloc is called one more time
            from libgcov.
            * gcc.dg/tree-prof/pr97461.c: Likewise.
  • [Bug gcov-profile/99105] [11 re... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to