llvm-project
07e7c313 - [NFC][clang] Adjust PPMemoryAllocationsTest ASan threshold (#244162)

Commit
12 hours ago
[NFC][clang] Adjust PPMemoryAllocationsTest ASan threshold (#244162) The #243000 reduced the BumpPtrAllocator's GrowthDelay from 128 to 8, so the geometrically growing slabs leave the currently open slab mostly empty. The test measures getTotalMemory(), which counts slab capacity, and the 1M-#define workload now reports 150.96 bytes per define under ASan instead of about 136.8, failing the 145.0 bound. The bytes actually requested are unchanged; only the unused tail of the last slab is larger. Raise the ASan bound from 145.0 to 160.0 to cover the slab slack, as done for the redzone overhead in #209024. The non-ASan bound of 130.0 is unchanged.
Author
Parents
Loading