n1tram1 added a comment.

In D78421#1993030 <https://reviews.llvm.org/D78421#1993030>, @jingham wrote:

> So you check the currently selected frame's module - which is libbar.dylib 
> and find that it was built before FileFromNotBar.c and would show me the old 
> version.
>
> Showing me the latest version of the file is not great, but totally 
> explicable.  Whereas this error, when it happens, would be confusing and hard 
> to understand.


So instead I should try to find which module the source file belongs to and 
check that module's modification time (instead of getting the currently 
selected frame) ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78421



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

Reply via email to