[all-commits] [llvm/llvm-project] ef9627: [scudo] Allow the quarantine code to be compiled o...
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Wed Jul 30 19:41:35 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef962752d9fee02fe1e626dc92206eb0457e2aa3
https://github.com/llvm/llvm-project/commit/ef962752d9fee02fe1e626dc92206eb0457e2aa3
Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
Date: 2025-07-30 (Wed, 30 Jul 2025)
Changed paths:
M compiler-rt/lib/scudo/standalone/allocator_config.def
M compiler-rt/lib/scudo/standalone/allocator_config_wrapper.h
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Log Message:
-----------
[scudo] Allow the quarantine code to be compiled out (#151064)
Add a new configuration option QuarantineDisabled that allows all of the
quarantine code to be compiled out.
Add new tests that verify that the code is removed properly.
On Android, this saves ~4000 bytes for 32 bit and ~6000 bytes for 64
bit.
On Android, I used some microbenchmarks that do malloc/free in a loop
and for allocations in the primary, the performance is about the same
for both 32 bit and 64 bit. For secondary allocations, I saw ~8% speed
up on 32 bit and ~3% on 64 bit speed up which feels like it could just
be code size improvements.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list