[PATCH] D47645: [LSan] Report proper error on allocator failures instead of CHECK(0)-ing

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 4 18:04:09 PDT 2018


alekseyshl updated this revision to Diff 149880.
alekseyshl added a comment.
Herald added a subscriber: kubamracek.

- Move allocator errors reporting to common to share with other sanitizers.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47645

Files:
  lib/lsan/lsan_allocator.cc
  lib/lsan/lsan_interceptors.cc
  lib/sanitizer_common/CMakeLists.txt
  lib/sanitizer_common/sanitizer_allocator_report.cc
  lib/sanitizer_common/sanitizer_allocator_report.h
  lib/sanitizer_common/sanitizer_report_decorator.h
  test/lsan/TestCases/Linux/aligned_alloc-alignment.cc
  test/lsan/TestCases/Posix/lit.local.cfg
  test/lsan/TestCases/Posix/posix_memalign-alignment.cc
  test/lsan/TestCases/allocator_returns_null.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47645.149880.patch
Type: text/x-patch
Size: 18201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180605/d1558a40/attachment.bin>


More information about the llvm-commits mailing list