__gcov_indirect_call_callee can't be null in __gcov_indirect_call_profiler_v2.
2018-08-01 Martin Liska <mliska@suse.cz> * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not check that __gcov_indirect_call_callee is non-null. From-SVN: r263202
This commit is contained in:
parent
181f2e99d1
commit
fd2e1dcd25
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-08-01 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
|
||||
check that __gcov_indirect_call_callee is non-null.
|
||||
|
||||
2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
|
||||
|
||||
* config/arm/ieee754-df.S: Fix comment for code working on
|
||||
|
|
|
@ -333,7 +333,7 @@ __gcov_indirect_call_profiler_v2 (gcov_type value, void* cur_func)
|
|||
function may have multiple descriptors and we need to dereference
|
||||
the descriptors to see if they point to the same function. */
|
||||
if (cur_func == __gcov_indirect_call_callee
|
||||
|| (__LIBGCC_VTABLE_USES_DESCRIPTORS__ && __gcov_indirect_call_callee
|
||||
|| (__LIBGCC_VTABLE_USES_DESCRIPTORS__
|
||||
&& *(void **) cur_func == *(void **) __gcov_indirect_call_callee))
|
||||
__gcov_one_value_profiler_body (__gcov_indirect_call_counters, value, 0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue