labath added a comment.

A simple `USE_LIBDL := 1` could fix the linux test.

As for windows, we have some dlopen "portability wrappers" in 
`packages/Python/lldbsuite/test/make/dylib.h`, but windows has the additional 
problem (well, maybe it's kind of a feature) of not being able to modify a 
binary while it's open). It will probably be necessary to kill the process and 
remove the module from its module list (if that doesn't defeat the purpose of 
the test). Force unloading the module (SBDebugger::MemoryPressureDetected) 
might be necessary as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138724/new/

https://reviews.llvm.org/D138724

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to