[all-commits] [llvm/llvm-project] 7371ec: [lldb] Have crashlog warn when remapped paths are ...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed Jun 14 17:25:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7371ec76299df6922911233bd6ee07d7629d09b6
https://github.com/llvm/llvm-project/commit/7371ec76299df6922911233bd6ee07d7629d09b6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M lldb/examples/python/crashlog.py
Log Message:
-----------
[lldb] Have crashlog warn when remapped paths are inaccessible.
It can be tricky to troubleshoot why the crashlog script can't show
inline sources. The two most common causes are that we couldn't find the
dSYM or, if we find the dSYM, that the path remapping included in the
dSYMForUUID output isn't accessible. The former is already easy to
diagnose, but the latter is harder because you'd have to manually invoke
dsymForUUID on the UUID and check the remapped path. This patch
automates that process and prints a warning if the remapped path doesn't
exist or is not accessible.
Differential revision: https://reviews.llvm.org/D152886
More information about the All-commits
mailing list