[PATCH] D35958: [sancov] Implement __sanitizer_cov_reset.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 16:17:09 PDT 2017


eugenis updated this revision to Diff 108543.
eugenis added a comment.

Removed the lock. Was not a good idea: we can not protect new coverage vs dlopen anyway (which is the most common race by far).


https://reviews.llvm.org/D35958

Files:
  compiler-rt/include/sanitizer/coverage_interface.h
  compiler-rt/lib/sanitizer_common/sanitizer_coverage_interface.inc
  compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cc
  compiler-rt/test/asan/TestCases/Posix/coverage-reset.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35958.108543.patch
Type: text/x-patch
Size: 4899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170727/a764e760/attachment.bin>


More information about the llvm-commits mailing list