================
@@ -1873,6 +1873,17 @@ DWARFASTParserClang::ParseStructureLikeDIE(const 
SymbolContext &sc,
     clang_type =
         m_ast.CreateClassTemplateSpecializationType(class_specialization_decl);
 
+    if (!class_specialization_decl) {
+      if (log) {
+        dwarf->GetObjectFile()->GetModule()->LogMessage(
+            log,
+            "SymbolFileDWARF({0:p}) - Specialization for "
+            "clang::ClassTemplateDecl({1}, {2:p}) already exists.",
----------------
Michael137 wrote:

```suggestion
            "SymbolFileDWARF({0:p}) - Failed to create specialization for "
            "clang::ClassTemplateDecl({1}, {2:p}).",
```

https://github.com/llvm/llvm-project/pull/154123
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to