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

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 11:35:03 PDT 2018


alekseyshl updated this revision to Diff 150169.
alekseyshl added a comment.
Herald added a subscriber: srhines.

- Add allocator tests


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47798

Files:
  lib/hwasan/hwasan.cc
  lib/hwasan/hwasan.h
  lib/hwasan/hwasan_allocator.cc
  lib/hwasan/hwasan_interceptors.cc
  lib/hwasan/hwasan_linux.cc
  lib/hwasan/hwasan_new_delete.cc
  lib/hwasan/hwasan_report.cc
  lib/hwasan/hwasan_report.h
  test/hwasan/TestCases/Linux/aligned_alloc-alignment.cc
  test/hwasan/TestCases/Linux/lit.local.cfg
  test/hwasan/TestCases/Linux/pvalloc-overflow.cc
  test/hwasan/TestCases/Posix/lit.local.cfg
  test/hwasan/TestCases/Posix/posix_memalign-alignment.cc
  test/hwasan/TestCases/allocator_returns_null.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47798.150169.patch
Type: text/x-patch
Size: 20857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180606/9bbe189b/attachment.bin>


More information about the llvm-commits mailing list