jasonmolenda added a comment.

I'll have to admit, a quick read through of Target::GetOrAddModule() worries me 
about adding this mid-function return - the code clearly has a mix of cases 
where it has found a Module on disk that is new to lldb and is loading it, it 
has found a module in lldb's global module cache which has the same UUID and/or 
filepath, and something in there about a Target which already has a module and 
the newly loaded module is used to replace it - not sure what that's about, but 
I only read it quickly.  My initial impression is that this change is unlikely 
to be the right thing to do, tbh, regardless of the more basic "why are we in 
this situation in the first place".   Again, I might be mistaken/not 
understanding the issue properly though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134581

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

Reply via email to