summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2023-05-08 19:12:32 -0700
committerChristopher Ferris <cferris@google.com>2023-05-09 15:40:57 -0700
commit526027df2d62432db3cfce3a61356369ed13cf5e (patch)
treef034e94e3ef5d580041595b4024fdfca8e0f36ca /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent41429523521cff12124ec7ec88c92dfe8547a13e (diff)
[scudo] Change secondary StatsAllocated update
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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions