Skip to content
Snippets Groups Projects
Commit bd813168 authored by Boris Stepanenko's avatar Boris Stepanenko Committed by Kirill Yukhin
Browse files

gcov: use __gcov_dump + __gcov_reset instead of __gcov_flush

__gcov_flush was removed in gcc11.

Since gcc11 __gcov_dump calls __gcov_lock at the start and
__gcov_unlock before returning. Same is true for __gcov_reset.
Because of that using __gcov_reset right after __gcov_dump since gcc11
is the same as using __gcov_flush before gcc11.

Closes #7302

NO_CHANGELOG=internal
NO_DOC=internal
NO_TEST=internal
parent 5a8dca70
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment