JosephTremoulet added a comment.

> But then you get to a point where you shouldn't really have multiple modules 
> replacing a single one so you aren't really sure what to do about it. That 
> part makes me a little uneasy.

Yeah, I wouldn't claim that the handling of the multiple-old-module case there 
is ideal. My thinking is that it makes an incremental step in the right 
direction, though -- the same potential for having multiple old modules is 
there with or without the change; the change makes the issue more apparent to 
readers of the code, makes note of it in the relevant log if we hit the issue 
at runtime, and refactors the code so there is one place to handle the issue. 
If you think it's best to hold off on that until we have a better way to 
actually handle the case, I can see the logic in that, just let me know and 
I'll rebase this to fix the bug in the meantime.

Thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89157

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

Reply via email to