llvm-project
ef962752 - [scudo] Allow the quarantine code to be compiled out (#151064)

Commit
144 days ago
[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.
Author
Parents
Loading