[Lldb-commits] [lldb] fix parallel module loading deadlock for Linux DYLD (PR #166480)
Tom Yang via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 7 14:00:18 PST 2025
zhyty wrote:
@JDevlieghere no worries, "context switching" was a bad (and incorrect) way of calling it. Your explanation helps me understand it better too!
> The only reason we're not seeing this on Darwin is because we always use the accelerator tables and don't need to manually index.
Ah right, I always forget Darwin has that luxury!
> However, it inherently suffers from the same problem. Let's change this globally and we should be good everywhere.
By change it "globally", I was initially going to change it on the caller side. I.e. do something similar as `DynamicLoaderPosixDYLD` to `DynamicLoaderDarwin`. Was this what you meant by "change it globally", or were you suggesting another kind of change?
https://github.com/llvm/llvm-project/pull/166480
More information about the lldb-commits
mailing list