[all-commits] [llvm/llvm-project] 5f91c7: [scudo][standalone] Allow setting release to OS

Christopher Ferris via All-commits all-commits at lists.llvm.org
Fri Feb 14 12:57:46 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f91c7b9805729e94ff7e54f3f85e525f6f2427c
      https://github.com/llvm/llvm-project/commit/5f91c7b9805729e94ff7e54f3f85e525f6f2427c
  Author: Christopher Ferris <cferris at google.com>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/allocator_config.h
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/flags.inc
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/primary64.h
    M compiler-rt/lib/scudo/standalone/secondary.h
    M compiler-rt/lib/scudo/standalone/wrappers_c.inc

  Log Message:
  -----------
  [scudo][standalone] Allow setting release to OS

Summary:
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.

Reviewers: pcc, cryptoad

Reviewed By: cryptoad

Subscribers: cryptoad, jfb, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74448




More information about the All-commits mailing list