[all-commits] [llvm/llvm-project] ec6a34: [lldb] Pass important options to dsymForUUID (#72669)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Nov 17 08:00:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec6a34e2a781fcfc6fe1d30e7cd358fb779157cf
      https://github.com/llvm/llvm-project/commit/ec6a34e2a781fcfc6fe1d30e7cd358fb779157cf
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

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

  Log Message:
  -----------
  [lldb] Pass important options to dsymForUUID (#72669)

On macOS, we usually use the DebugSymbols framework to find dSYMs, but
we have a few places (including crashlog.py) that calls out directly to
dsymForUUID. Currently, this invocation is missing two important
options:

* `--ignoreNegativeCache`: Poor network connectivity or lack of VPN can
lead to a negative cache hit. Avoiding those issues is worth the penalty
of skipping these caches.
* `--copyExecutable`: Ensure we copy the executable as it might not be
available at its original location.

rdar://118480731




More information about the All-commits mailing list