================
@@ -73,7 +74,15 @@ llvm::Error
IncrementalExecutor::addModule(PartialTranslationUnit &PTU) {
Jit->getMainJITDylib().createResourceTracker();
ResourceTrackers[&PTU] = RT;
- return Jit->addIRModule(RT, {std::move(PTU.TheModule), TSCtx});
----------------
vgvassilev wrote:
Even if we are attaching a resource tracker (`RT`) the Jit decides to destroy
the `ThreadSafeModule`.
https://github.com/llvm/llvm-project/pull/89031
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits