================
@@ -2232,6 +2232,10 @@ bool DWARFASTParserClang::CompleteRecordType(const 
DWARFDIE &die,
       // For objective C we don't start the definition when the class is
       // created.
       TypeSystemClang::StartTagDeclarationDefinition(clang_type);
+    } else {
+      assert(
+          clang_type.IsBeingDefined() &&
+          "The clang type should already start its definition at this point.");
----------------
Michael137 wrote:

Perhaps:
```suggestion
          "Trying to complete a definition without a prior call to 
StartTagDeclarationDefinition.");
```
?

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

Reply via email to