1
0
Fork 0
forked from nuttx/nuttx-update

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 75ddce6e3a
commit ba50378f01

View file

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