asavonic wrote: @jimingham, @JDevlieghere, thanks to your suggestions in #147289, I was able to use existing LLDB API to completely release some modules from the cache, but keep other modules intact. However, this approach did not work completely, because `DynamicLoaderWindowsDYLD` kept modules from being released. The patch is supposed to address this problem. I think it is a corner case, because normally modules should be released when they are unloaded. In any case, I think using weak pointers here makes sense.
https://github.com/llvm/llvm-project/pull/156446 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits