[Lldb-commits] [PATCH] D152886: [lldb] Make it easier to spot if sources were resolved in crashlog output

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 13 21:36:54 PDT 2023


mib added inline comments.


================
Comment at: lldb/examples/python/crashlog.py:340-343
+                                for key in path_remapping:
+                                    source_path = os.path.expanduser(
+                                        path_remapping[key]
+                                    )
----------------



================
Comment at: lldb/examples/python/crashlog.py:344
+                                    )
+                                    if os.path.exists(source_path):
+                                        self.resolved_source = True
----------------
I guess that checks that the user have access to the remapped path, is that right ?

If that's not the case, I think we should let the user know


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

https://reviews.llvm.org/D152886



More information about the lldb-commits mailing list