[Lldb-commits] [lldb] [lldb][NativePDB] Handle LF_CLASS2 and friends (PR #231615)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 14 04:08:53 PDT 2026


================
@@ -70,11 +70,12 @@ clang::QualType UdtRecordCompleter::AddBaseClassForTypeIndex(
   clang::QualType qt = m_ast_builder.GetOrCreateClangType(type_id);
 
   CVType udt_cvt = m_index.tpi().getType(ti);
-
+  bool base_of_class =
----------------
charles-zablit wrote:

Note for later: `base_of_class` only checks `LF_CLASS` and `LF_CLASS2`, so a base that is an MSVC `__interface` (`LF_INTERFACE` or `LF_INTERFACE2`) is treated as a struct base. `TranslateUdtKind` already maps interfaces to `TagTypeKind::Interface`, so it might be worth including them here too.

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


More information about the lldb-commits mailing list