[PATCH] D15396: [sanitizers] Log all output to CrashReport on OS X

Anna Zaks via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 9 14:53:17 PST 2015


zaks.anna created this revision.
zaks.anna added reviewers: kubabrecka, glider.
zaks.anna added a subscriber: llvm-commits.

Log all of sanitizers' output (not just ASan bug reports) to CrashReport, which simplifies diagnosing failed checks as well as other errors. This also allows to strip the color sequences early from the printed buffer, which is more efficient than what we had perviously.

http://reviews.llvm.org/D15396

Files:
  lib/asan/asan_report.cc
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_common_libcdep.cc
  lib/sanitizer_common/sanitizer_linux_libcdep.cc
  lib/sanitizer_common/sanitizer_mac.cc
  lib/sanitizer_common/sanitizer_mac.h
  lib/sanitizer_common/sanitizer_printf.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15396.42344.patch
Type: text/x-patch
Size: 4783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151209/8bd8a665/attachment.bin>


More information about the llvm-commits mailing list