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
658d767b81
commit
dad9ad949d
1 changed files with 2 additions and 1 deletions
|
@ -323,8 +323,9 @@ void __gcov_execv(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void __gcov_fork(void)
|
pid_t __gcov_fork(void)
|
||||||
{
|
{
|
||||||
|
return fork();
|
||||||
}
|
}
|
||||||
|
|
||||||
void __gcov_dump(void)
|
void __gcov_dump(void)
|
||||||
|
|
Loading…
Reference in a new issue