Skip to content

Commit 13a2b20

Browse files
committed
Windows: support DoLoadImage
This implements DoLoadImage and UnloadImage in the Windows platform plugin modelled after the POSIX platform plugin. This was previously unimplemented and resulted in a difficult to decipher error without any logging. This implementation is intended to support enables the use of LLDB's Swift REPL on Windows. Paths which are added to the library search path are persistent and applied to all subsequent loads. This can be adjusted in the future by storing all the cookies and restoring the path prior to returning from the helper. However, the dynamic path count makes this a bit more challenging. Differential Revision: https://reviews.llvm.org/D77287
1 parent 27222cd commit 13a2b20

File tree

3 files changed

+428
-58
lines changed

3 files changed

+428
-58
lines changed

lldb/source/Plugins/Platform/Windows/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ add_lldb_library(lldbPluginPlatformWindows PLUGIN
66
lldbCore
77
lldbHost
88
lldbTarget
9+
10+
LINK_COMPONENTS
11+
Support
912
)

0 commit comments

Comments
 (0)