commit | 23a7a43da615bceedefe42b8398b82939e6eeb2d | [log] [tgz] |
---|---|---|
author | Sergey Matveev <earthdok@google.com> | Tue Oct 08 18:01:03 2013 +0000 |
committer | Sergey Matveev <earthdok@google.com> | Tue Oct 08 18:01:03 2013 +0000 |
tree | d51c50f582bb5bc0a510872296feb9f1cab7bd42 | |
parent | 497ae56316cd05a0d539e0d6e065bbaee254aca3 [diff] |
[sanitizer] Fix deadlock in StopTheWorld. The tracer thread in StopTheWorld could wait on a mutex forever if the parent process died before unlocking it. Use PR_SET_PDEATHSIG so that the parent would kill the child in this scenario. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192210 91177308-0d34-0410-b5e6-96231b3b80d8