emrekultursay added a comment.

In D109797#3005885 <https://reviews.llvm.org/D109797#3005885>, @labath wrote:

> I'm not sure all of this is relevant. I've just tried to debug a very simple 
> (linux) executable that does a dlopens a library. If I attach to the 
> executable before the dlopen call, lldb does not notice the new library. This 
> patch fixes the issue. So I guess the test could be just that. You could do 
> something similar to TestLoadUnload -- either add a new test case which 
> attaches to that binary, or use it as inspiration to write a new test.

PTAL. I added a new `dlopen` test for this. I can only test on Linux at the 
moment, so LMK if there's something I need to do to support more platforms or 
remove them from testing matrix.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109797

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

Reply via email to