[Lldb-commits] [clang] [lldb] Reland [MS][clang] Add support for vector deleting destructors (PR #170337)

Mariya Podchishchaeva via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 10 08:58:33 PST 2025


================
@@ -11193,6 +11193,7 @@ bool Sema::CheckDestructor(CXXDestructorDecl *Destructor) {
             FindDeallocationFunctionForDestructor(Loc, RD, /*Diagnose*/ false,
                                                   /*LookForGlobal*/ true, Name);
         Destructor->setOperatorGlobalDelete(GlobalOperatorDelete);
+        MarkFunctionReferenced(Loc, GlobalOperatorDelete);
----------------
Fznamznon wrote:

Okay, added a check.

https://github.com/llvm/llvm-project/pull/170337


More information about the lldb-commits mailing list