================
@@ -1671,43 +1671,84 @@ DWARFASTParserClang::ParseStructureLikeDIE(const 
SymbolContext &sc,
     attrs.is_forward_declaration = true;
   }
 
+  DWARFDIE def_die;
+  if (attrs.is_forward_declaration && cu_language == eLanguageTypeObjC) {
----------------
adrian-prantl wrote:

You'd also need to check for `eLanguageTypeObjCPlusPlus` here.

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

Reply via email to