[Sanitizers][PGO] missing return statement

This commit is contained in:
David Carlier 2021-09-04 11:40:50 +01:00
parent df2af9936c
commit 08c3cdb8b8
1 changed files with 1 additions and 0 deletions

View File

@ -336,6 +336,7 @@ COMPILER_RT_VISIBILITY int lprofSuspendSigKill() {
if (procctl(P_PID, 0, PROC_PDEATHSIG_STATUS, &PDeachSig) == 0 &&
PDeachSig == SIGKILL)
procctl(P_PID, 0, PROC_PDEATHSIG_CTL, &PDisableSig);
return (PDeachSig == SIGKILL);
#else
return 0;
#endif