[Lldb-commits] [lldb] [lldb][Windows] Report module paths the way the loader spelled them (PR #226492)

via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 29 06:07:31 PDT 2026


================
@@ -0,0 +1,90 @@
+"""
+Test that a process launched through an aliased directory reports its modules
+under that directory, so LLDB does not duplicate the modules it already has.
+
+The target is created from a junction to the build directory. lldb-server must
+report the executable and the DLL next to it with the path the Windows loader
+recorded, which keeps the junction, rather than with the resolved path, which
+does not. Otherwise LLDB adds a second module for each file and the breakpoints
+get a location in both.
+"""
+
+import os
+import subprocess
+
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+ at requireWindows
+ at skipIfWindowsAndNoLLDBServer
----------------
Nerixyz wrote:

Deos this not work without lldb-server?

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


More information about the lldb-commits mailing list