[PATCH] D14470: [asan] Fix the deadlocks introduced by "On OS X, log reports to syslog and os_trace" commit

Anna Zaks via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 14:56:15 PST 2015


zaks.anna updated this revision to Diff 39856.
zaks.anna added a comment.

Addressing Alexey's review. Switching to use InternalScopedBuffer lead to a bit more refactoring. For example, I've also switched to InternalScopedBuffer in WriteToSyslog since that copy happens late as well.


http://reviews.llvm.org/D14470

Files:
  lib/asan/asan_report.cc
  lib/sanitizer_common/sanitizer_common.cc
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_common_libcdep.cc
  lib/sanitizer_common/sanitizer_common_nolibc.cc
  lib/sanitizer_common/sanitizer_mac.cc
  lib/sanitizer_common/sanitizer_posix.cc
  lib/sanitizer_common/sanitizer_printf.cc
  lib/sanitizer_common/sanitizer_win.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14470.39856.patch
Type: text/x-patch
Size: 9020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151110/2d797064/attachment.bin>


More information about the llvm-commits mailing list