Nerixyz wrote:

> `GetOrCreateModule` then fails to match the module LLDB had already preloaded 
> and creates a duplicate instead.

Shouldn't we fix this then? So that it searches for the canonicalized path or 
that we use the canonical path. Looking at other uses of `SetExecutableModule`, 
we don't check that `GetExecutableModule` is set to _any_ module.

I'm guessing this is also an issue when the executable is behind some symlinks.

https://github.com/llvm/llvm-project/pull/210010
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to