[all-commits] [llvm/llvm-project] a42aac: [DebugInfo] Fix memory leak in DebugSSAUpdater (#1...
Stephen Tozer via All-commits
all-commits at lists.llvm.org
Tue Sep 16 07:49:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a42aac5f83e272f83207844dde1530b86e6fcf2b
https://github.com/llvm/llvm-project/commit/a42aac5f83e272f83207844dde1530b86e6fcf2b
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)
Changed paths:
M llvm/include/llvm/Transforms/Utils/DebugSSAUpdater.h
Log Message:
-----------
[DebugInfo] Fix memory leak in DebugSSAUpdater (#159107)
Fixes an issue in commit 3946c50, PR #135349.
The DebugSSAUpdater class performs raw pointer allocations. It frees
these properly in reset(), but does not do so in its destructor - as an
immediate fix, this patch adds a destructor which frees the allocations
correctly.
I'll be merging this immediately to fix the issue, but will be open to
post-commit review and/or producing a better fix in a follow-up commit.
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