Skip to content
Snippets Groups Projects
  • Martin Liska's avatar
    d39f7dc8
    Do locking for __gcov_dump and __gcov_reset as well. · d39f7dc8
    Martin Liska authored
    	PR gcov-profile/93623
    	* Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
    	* libgcov-interface.c (ALIAS_void_fn): Remove.
    	(__gcov_lock): New.
    	(__gcov_unlock): New.
    	(__gcov_flush): Use __gcov_lock and __gcov_unlock.
    	(__gcov_reset): Likewise.
    	(__gcov_dump): Likewise.
    	* libgcov.h (__gcov_lock): New declaration.
    	(__gcov_unlock): Likewise.
    d39f7dc8
    History
    Do locking for __gcov_dump and __gcov_reset as well.
    Martin Liska authored
    	PR gcov-profile/93623
    	* Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
    	* libgcov-interface.c (ALIAS_void_fn): Remove.
    	(__gcov_lock): New.
    	(__gcov_unlock): New.
    	(__gcov_flush): Use __gcov_lock and __gcov_unlock.
    	(__gcov_reset): Likewise.
    	(__gcov_dump): Likewise.
    	* libgcov.h (__gcov_lock): New declaration.
    	(__gcov_unlock): Likewise.