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

            Bug ID: 83879
           Summary: __gcov_dump doesn't work with dlopen-ed libraries
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mcastelluccio at mozilla dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 43144
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43144&action=edit
Archive containing source files to reproduce the bug

See the attached example.

To reproduce the problem, run the "run.sh" script and see that no func.gcda or
func2.gcda are generated.

If you remove the "pause()" call in main.c and let the program exit, the
func.gcda and func2.gcda files are generated.

Reply via email to