gcov: Fix gcov fork() issue

After code coverage is enabled, fork will be replaced by __gcov_fork

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
wangmingrong1 2024-12-12 16:47:20 +08:00 committed by Xiang Xiao
parent 658d767b81
commit dad9ad949d

View file

@ -323,8 +323,9 @@ void __gcov_execv(void)
{
}
void __gcov_fork(void)
pid_t __gcov_fork(void)
{
return fork();
}
void __gcov_dump(void)