A memory leak was introduced in https://reviews.llvm.org/D88329
CGObjCMac.cpp was leaking a MangleContext everytime it mangled
an ObjC method. We now have an instance variable that allocates
and deallocates the context.
Paths
| Differential D88497
[objc] Fix memory leak in CGObjCMac.cpp AbandonedPublic Authored by rjmccall on Sep 29 2020, 8:39 AM.
Details
Summary A memory leak was introduced in https://reviews.llvm.org/D88329 CGObjCMac.cpp was leaking a MangleContext everytime it mangled
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 29 2020, 9:57 AM Comment Actions Fix a comment to reference the correct method. Thanks to @vsapsai for pointing this out. This revision now requires review to proceed.Sep 29 2020, 4:52 PM
Revision Contents
Diff 295055 clang/lib/CodeGen/CGObjCMac.cpp
llvm/tools/dsymutil/SymbolMap.cpp
|