mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 06:26:06 +00:00

Said test was flaking on Fuchsia for non-obvious reasons, and only for ASan variants (the release was returning 0). It turned out that the templating was off, `true` being promoted to a `s32` and used as the minimum interval argument. This meant that in some circumstances, the normal release would occur, and the forced release would have nothing to release, hence the 0 byte released. The symbols are giving it away (note the 1): ``` scudo::SizeClassAllocator64<scudo::FixedSizeClassMap<scudo::DefaultSizeClassConfig>,24ul,1,2147483647,false>::releaseToOS(void) ``` This also probably means that there was no MTE version of that test! Differential Revision: https://reviews.llvm.org/D88457
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================