For MTE, we can't use the whole size or we might trigger a segfault. Therefore, use the exact size when MTE is enabled or the exact usable size parameter is true. Also, optimize out the call to getUsableSize and use a simpler calculation.
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. ================================