[Lldb-commits] [lldb] DynamicLoaderDarwin load images in parallel (PR #110439)
Dmitrii Galimzianov via lldb-commits
lldb-commits at lists.llvm.org
Sun Sep 29 14:28:47 PDT 2024
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
More information about the lldb-commits
mailing list