[Lldb-commits] [lldb] [LLDB] Run MSVC STL (forward-)list test with PDB (PR #166953)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 9 02:45:12 PST 2025


================
@@ -530,6 +530,12 @@ lldb::ChildCacheState MsvcStlForwardListFrontEnd::Update() {
           m_backend.GetChildAtNamePath({"_Mypair", "_Myval2", "_Myhead"}))
     m_head = head_sp.get();
 
+  if (!m_element_type && m_head) {
+    auto val_sp = m_head->GetChildMemberWithName("_Myval");
+    if (val_sp)
+      m_element_type = val_sp->GetCompilerType();
+  }
+
----------------
Michael137 wrote:

Can we extract this to a `GetElementType` helper?

Also worth adding a comment that this is for PDB

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


More information about the lldb-commits mailing list