diff options
author | Matthew Weingarten <matt@weingarten.org> | 2024-06-26 17:11:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 17:11:21 -0700 |
commit | ca4e5a8d6e00d8a851c3bbd01442193f97a80139 (patch) | |
tree | 0139e23d9695273ef4c251c395f567efe94f64ea /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dae061f1b2576a78fb706d4fdc7e30e37d1f3e3c (diff) | |
download | llvm-ca4e5a8d6e00d8a851c3bbd01442193f97a80139.zip llvm-ca4e5a8d6e00d8a851c3bbd01442193f97a80139.tar.gz llvm-ca4e5a8d6e00d8a851c3bbd01442193f97a80139.tar.bz2 |
[Memprof] Fixes memory leak in MemInfoBlock histogram. (#96834)
MemInfoBlocks (MIB) with empty callstacks are erased prematurely from
the CallStackProfileData. This patch frees allocated histogram buffers
when the MIB is associated with an empty callstack.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions