================
@@ -6,6 +6,8 @@ add_lldb_tool(lldb-dap
   lldb-dap.cpp
 
   LINK_LIBS
+    lldbUtilityPythonPathSetup
+    liblldb # delay load liblldb
----------------
charles-zablit wrote:

It does link it in `lldb\tools\lldb-dap\CMakeLists.txt`. However delay loading 
is only available for executable, not libraries.

What this does is:
- when building `lldb-dap.exe`, delay load `liblldb.dll` to give us time to 
setup Python.
- when building `lldbDap.lib` link against `liblldb.dll` without delay loading 
because that does not exist.

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

Reply via email to