[Lldb-commits] [lldb] [lldb][Windows] Relax dependent-modules-nodupe-windows OS-DLL ordering (PR #203305)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 16 08:34:13 PDT 2026


charles-zablit wrote:

> No objection to the PR just curious about:
> 
> > The post-run "target modules list" output orders the OS DLLs (ntdll, kernel32, ...) by load address, which differs between the in-process debugger and the lldb-server-on-Windows path.
> 
> Why does that happen? I think load address means the address it's loaded at in the inferior process so I'd have guessed it was the same either way (ignoring any randomisation that Windows might do).

Essentially it boils down to the inprocess plugin using a `std::vector` which preserves the loading ordering and the remote plugin using a `std::map`.

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


More information about the lldb-commits mailing list