DmT021 wrote: @augusto2112 Take a look when you have time
This is just one possible approach to parallelizing the initial image loading. The other solution I'm checking now is to parallelize loading somewhere earlier, perhaps in `DynamicLoaderMacOS::DoInitialImageFetch`. The difference is that the `UpdateSpecialBinariesFromNewImageInfos` function isn't parallelized right now, so we still load `dyld` and the main executable image sequentially. If we parallelize the loading of all `image_infos` before calling `UpdateSpecialBinariesFromNewImageInfos` and `AddModulesUsingImageInfos` we might gain even better utilization of multithreading. https://github.com/llvm/llvm-project/pull/110439 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits