[PATCH] D48328: [Sanitizers] Remove OOM/BadRequest allocator error handling policies.

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 10:28:55 PDT 2018


alekseyshl created this revision.
alekseyshl added reviewers: vitalybuka, cryptoad.
Herald added subscribers: Sanitizers, delcypher, kubamracek.

Remove the generic error nadling policies and handle each allocator error
explicitly. Although more verbose, it allows for more comprehensive, precise
and actionable allocator related failure reports.

This finishes up the series of changes of the particular sanitizer
allocators, improves the internal allocator error reporting and removes
now unused policies.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48328

Files:
  lib/asan/asan_errors.cc
  lib/sanitizer_common/sanitizer_allocator.cc
  lib/sanitizer_common/sanitizer_allocator.h
  lib/sanitizer_common/sanitizer_allocator_local_cache.h
  lib/sanitizer_common/sanitizer_allocator_primary64.h
  lib/sanitizer_common/sanitizer_allocator_report.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48328.151939.patch
Type: text/x-patch
Size: 9422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180619/8170713c/attachment.bin>


More information about the llvm-commits mailing list