[all-commits] [llvm/llvm-project] e7ac98: [scudo][standalone] Allow Primary allocations to f...
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Thu Jun 18 11:47:26 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e7ac984dc055085e0580e90f08841ae2c4ce7cf5
https://github.com/llvm/llvm-project/commit/e7ac984dc055085e0580e90f08841ae2c4ce7cf5
Author: Christopher Ferris <cferris at google.com>
Date: 2020-06-18 (Thu, 18 Jun 2020)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Log Message:
-----------
[scudo][standalone] Allow Primary allocations to fail up multiple times.
Summary:
When enabling some malloc debug features on Android, multiple 32 bit
regions become exhausted, and the allocations fail. Allow allocations
to keep trying each bigger class in the Primary until it finds a fit.
In addition, some Android tests running on 32 bit fail sometimes due
to a running out of space in two regions, and then fail the allocation.
Reviewers: cryptoad
Reviewed By: cryptoad
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D82070
More information about the All-commits
mailing list