diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-06-04 12:13:54 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-06-04 12:13:54 +0000 |
commit | 03a95f4ed435d58ab742eeabc83ad59320b4840f (patch) | |
tree | a2a48e6d5171b61e313899e9c470439996f37888 /lib/msan/msan_report.cc | |
parent | 29c00f1ff1d6294bf6f6298ef4246b31f08e082c (diff) |
[sancov] Handle fork.
Reset coverage data on fork().
For memory-mapped mode (coverage_direct=1) this helps avoid loss of data
(before this change two processes would write to the same file simultaneously).
For normal mode, this reduces coverage dump size, because PCs from the parent
process are no longer inherited by the child.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_report.cc')
0 files changed, 0 insertions, 0 deletions