mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 18:58:15 +00:00
526027df2d
In the secondary allocation routine, the StatsAllocated stat is increased by BlockSize. However, in the deallocate routine, the stat subtract uses CommitSize. CommitSize can be bigger than BlockSize so this can lead to a negative calculated stat. Since the stats are not guaranteed to be completely accurate, just add CommitSize during allocation. Reviewed By: Chia-hungDuan Differential Revision: https://reviews.llvm.org/D150169 |
||
---|---|---|
.. | ||
cmake | ||
docs | ||
include | ||
lib | ||
test | ||
tools | ||
unittests | ||
utils | ||
www | ||
.clang-tidy | ||
.gitignore | ||
CMakeLists.txt | ||
CODE_OWNERS.TXT | ||
CREDITS.TXT | ||
LICENSE.TXT | ||
README.txt |
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. ================================