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

Mariya Podchishchaeva via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 5 07:17:00 PST 2025


================
@@ -150,7 +150,7 @@ class VTableComponent {
 
   bool isRTTIKind() const { return isRTTIKind(getKind()); }
 
-  GlobalDecl getGlobalDecl() const {
+  GlobalDecl getGlobalDecl(bool HasVectorDeletingDtors) const {
----------------
Fznamznon wrote:

`VTableComponent` uses a single `int64_t` value to store its kind and offset. I don't think I can somehow alter it since there is already 8 kinds for 3 bits reserved for kind and I'm not sure I can touch the offset. That would probably mean adding one more member field to `VTableComponent` just for the sake of this check and looking at how it uses just 3 bits for storing its kind I hesitate adding anything there.

I think @rnk already thought about this in https://github.com/llvm/llvm-project/pull/126240#discussion_r1962107531 .

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


More information about the lldb-commits mailing list