[Lldb-commits] [PATCH] D109797: Fix rendezvous for rebase_exec=true case

Emre Kultursay via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 20 05:35:25 PDT 2021


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



More information about the lldb-commits mailing list