[PATCH] D74448: [scudo][standalone] Allow setting release to OS

Christopher Ferris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 14:59:07 PST 2020


cferris created this revision.
Herald added subscribers: llvm-commits, Sanitizers, jfb, cryptoad.
Herald added projects: Sanitizers, LLVM.

Add a method to set the release to OS value as the system runs,
and allow this to be set differently in the primary and the secondary.
Also, add a default value to use for primary and secondary. This
allows Android to have a default that is different for
primary/secondary.

Update mallopt to support setting the release to OS value.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74448

Files:
  compiler-rt/lib/scudo/standalone/allocator_config.h
  compiler-rt/lib/scudo/standalone/combined.h
  compiler-rt/lib/scudo/standalone/primary32.h
  compiler-rt/lib/scudo/standalone/primary64.h
  compiler-rt/lib/scudo/standalone/secondary.h
  compiler-rt/lib/scudo/standalone/wrappers_c.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74448.244015.patch
Type: text/x-patch
Size: 11592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200211/23c16905/attachment.bin>


More information about the llvm-commits mailing list