mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 01:38:36 +08:00
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:
parent
75ddce6e3a
commit
ba50378f01
1 changed files with 2 additions and 1 deletions
|
@ -327,8 +327,9 @@ void __gcov_execv(void)
|
|||
{
|
||||
}
|
||||
|
||||
void __gcov_fork(void)
|
||||
pid_t __gcov_fork(void)
|
||||
{
|
||||
return fork();
|
||||
}
|
||||
|
||||
void __gcov_dump(void)
|
||||
|
|
Loading…
Reference in a new issue