bulbazord wrote: > The downside of the new approach is that we set the helper after having > initialized the Host plugin, which theoretically introduces a small window > where someone could query the helper before it has been set. Fortunately the > window is pretty small and limited to when we're initializing plugins, but > it's less "pure" than what we had previously. That said, I think it balances > out with removing the plugin include.
I think this makes sense if you plan on having the script interpreter plugins load ASAP (meaning the shared lib is loaded during or just after initialization). If we ever want them to be lazy, there's a real chance somebody could query the helper before it's set and then load python later on. (Thinking about the lldb driver scenario, not importing from python) https://github.com/llvm/llvm-project/pull/183637 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
