================

----------------
wenju-he wrote:

good idea, but it requires a refactor because current `runCodeGen` isn't thread 
safe as it takes a shared LLVMContext. We should construct a local LLVMContext 
inside `runCodeGen` for parallel compilation.

I'd prefer to do that in a follow-up PR, since this PR is a contained, low-risk 
change.

https://github.com/llvm/llvm-project/pull/224548
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to