[all-commits] [llvm/llvm-project] fe6e77: [scudo][standalone] 32-bit improvement

Kostya Kortchinsky via All-commits all-commits at lists.llvm.org
Fri Feb 7 11:16:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fe6e77f6fb9176ae09e1528ff46cb9c3588920a7
      https://github.com/llvm/llvm-project/commit/fe6e77f6fb9176ae09e1528ff46cb9c3588920a7
  Author: Kostya Kortchinsky <kostyak at google.com>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/size_class_map.h
    M compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp

  Log Message:
  -----------
  [scudo][standalone] 32-bit improvement

Summary:
This tweaks some behaviors of the allocator wrt 32-bit, notably
tailoring the size-class map.

I had to remove a `printStats` from `__scudo_print_stats` since when
within Bionic they share the same slot so they can't coexist at the
same time. I have to find a solution for that later, but right now we
are not using the Svelte configuration.

Reviewers: rengolin

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

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




More information about the All-commits mailing list