[PATCH] D45600: [sanitizer] Allow for the allocator "names" to be set by the tools

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 16:02:42 PDT 2018


cryptoad created this revision.
cryptoad added a reviewer: alekseyshl.
Herald added subscribers: Sanitizers, delcypher, kubamracek.

In the same spirit of SanitizerToolName, allow the Primary & Secondary
allocators to have names that can be set by the tools via PrimaryAllocatorName
and SecondaryAllocatorName.

Additionally, set a non-default name for Scudo.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D45600

Files:
  lib/sanitizer_common/sanitizer_allocator.cc
  lib/sanitizer_common/sanitizer_allocator.h
  lib/sanitizer_common/sanitizer_allocator_primary32.h
  lib/sanitizer_common/sanitizer_allocator_primary64.h
  lib/sanitizer_common/sanitizer_allocator_secondary.h
  lib/scudo/scudo_allocator.cpp
  lib/scudo/scudo_allocator_secondary.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45600.142291.patch
Type: text/x-patch
Size: 5242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180412/f0ac4afc/attachment.bin>


More information about the llvm-commits mailing list