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

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 28 11:25:41 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL328722: [ASan] Report proper ASan error on allocator failures instead of CHECK(0)-ing (authored by alekseyshl, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D44404

Files:
  compiler-rt/trunk/lib/asan/asan_allocator.cc
  compiler-rt/trunk/lib/asan/asan_errors.cc
  compiler-rt/trunk/lib/asan/asan_errors.h
  compiler-rt/trunk/lib/asan/asan_new_delete.cc
  compiler-rt/trunk/lib/asan/asan_report.cc
  compiler-rt/trunk/lib/asan/asan_report.h
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator.cc
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator.h
  compiler-rt/trunk/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
  compiler-rt/trunk/test/asan/TestCases/Linux/allocator_oom_test.cc
  compiler-rt/trunk/test/asan/TestCases/Linux/pvalloc-overflow.cc
  compiler-rt/trunk/test/asan/TestCases/Posix/posix_memalign-alignment.cc
  compiler-rt/trunk/test/asan/TestCases/Windows/oom.cc
  compiler-rt/trunk/test/asan/TestCases/allocator_returns_null.cc
  compiler-rt/trunk/test/asan/TestCases/calloc-overflow.cc
  compiler-rt/trunk/test/asan/TestCases/malloc-size-too-big.cc
  compiler-rt/trunk/test/lsan/TestCases/allocator_returns_null.cc
  compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44404.140112.patch
Type: text/x-patch
Size: 34051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180328/91318d73/attachment.bin>


More information about the llvm-commits mailing list