[all-commits] [llvm/llvm-project] 4da5a4: [lldb] Update crashlog.py to accept multiple resul...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Sep 7 08:42:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4da5a446f818cd979868d830eced9770a886a5b6
      https://github.com/llvm/llvm-project/commit/4da5a446f818cd979868d830eced9770a886a5b6
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M lldb/examples/python/crashlog.py

  Log Message:
  -----------
  [lldb] Update crashlog.py to accept multiple results from mdfind

mdfind can return multiple results, some of which are not even dSYM
bundles, but Xcode archives (.xcrachive).

Currently, we end up concatenating the paths, which is obviously bogus.
This patch not only fixes that, but now also skips paths that don't have
a Contents/Resources/DWARF subdirectory.

rdar://81270312

Differential revision: https://reviews.llvm.org/D109263




More information about the All-commits mailing list