================
@@ -19061,6 +19061,15 @@ void Sema::MarkFunctionReferenced(SourceLocation Loc,
FunctionDecl *Func,
}
}
});
+ } else if (NeedDefinition && getLangOpts().IncrementalExtensions &&
----------------
voyager-jhk wrote:
Hi @vgvassilev, I've refactored the patch.
I've moved the fix to the Interpreter. It now tracks instantiations per-PTU and
performs a physical state rollback inside CleanUpPTU when a parse error hits.
This acts as a lightweight DeclUnloader to unblock JIT starvation without
polluting the core frontend. PTAL!
https://github.com/llvm/llvm-project/pull/192588
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits