Add __gcov_indirect_call_profiler_v4_atomic.
authorMartin Liska <mliska@suse.cz>
Mon, 27 Jan 2020 15:20:10 +0000 (16:20 +0100)
committerMartin Liska <mliska@suse.cz>
Mon, 27 Jan 2020 15:20:10 +0000 (16:20 +0100)
commit3ae37f9297fc97aefc6c6968315bd1ac6a1bc7ef
treeac9381bb63fe63370b33c674a651116a9f52fd46
parent6a81cabc14426b642271647b03218a3af19d600f
Add __gcov_indirect_call_profiler_v4_atomic.

PR gcov-profile/93403
* tree-profile.c (gimple_init_gcov_profiler): Generate
both __gcov_indirect_call_profiler_v4 and
__gcov_indirect_call_profiler_v4_atomic.
PR gcov-profile/93403
* libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
Call __gcov_indirect_call_profiler_body.
(__gcov_indirect_call_profiler_body): New.
(__gcov_indirect_call_profiler_v4_atomic): New.
* libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
New declaration.
gcc/ChangeLog
gcc/tree-profile.c
libgcc/ChangeLog
libgcc/libgcov-profiler.c
libgcc/libgcov.h