commit | d41fa1b7f2afe5dd78cd4e635e16fd5f079b0318 | [log] [tgz] |
---|---|---|
author | Sergey Matveev <earthdok@google.com> | Wed Oct 09 13:36:20 2013 +0000 |
committer | Sergey Matveev <earthdok@google.com> | Wed Oct 09 13:36:20 2013 +0000 |
tree | 77ce43adc4040572f2f8961ae446bc35c68a2558 | |
parent | 23a7a43da615bceedefe42b8398b82939e6eeb2d [diff] |
[sanitizer] Fix the parent liveness check in StopTheWorld. Comparing the parent PID with 1 isn't sufficient to ensure the parent is alive, because of prctl(PR_SET_CHILD_SUBREAPER, ...). Compare with the real parent's recorded PID instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192295 91177308-0d34-0410-b5e6-96231b3b80d8