[all-commits] [llvm/llvm-project] ca4e5a: [Memprof] Fixes memory leak in MemInfoBlock histog...
Matthew Weingarten via All-commits
all-commits at lists.llvm.org
Wed Jun 26 17:11:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca4e5a8d6e00d8a851c3bbd01442193f97a80139
https://github.com/llvm/llvm-project/commit/ca4e5a8d6e00d8a851c3bbd01442193f97a80139
Author: Matthew Weingarten <matt at weingarten.org>
Date: 2024-06-26 (Wed, 26 Jun 2024)
Changed paths:
M llvm/lib/ProfileData/MemProfReader.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list