[Lldb-commits] [PATCH] D138724: [lldb][Target] Flush the scratch TypeSystem when process gets deleted

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 2 06:46:54 PST 2022


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



More information about the lldb-commits mailing list