[Lldb-commits] [lldb] fix parallel module loading deadlock for Linux DYLD (PR #166480)

David Peixotto via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 5 09:01:47 PST 2025


dmpots wrote:

I wonder if instead of a boolean we should pass down a function that schedules the module loading as suggested in #10746.

That gives more flexibility in that we could immediately schedule the preload to happen in parallel (as done in the other PR), or for your use case we could accumulate the preload callbacks into a vector and then schedule all the preload jobs to run in parallel once all the modules have been loaded.

https://github.com/llvm/llvm-project/pull/166480


More information about the lldb-commits mailing list