[all-commits] [llvm/llvm-project] 0f2931: [lldb] Determine the main binary in JSON crashlogs

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Feb 14 21:24:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f29319e56459eb26a3bf7fb86e45e63f43a168e
      https://github.com/llvm/llvm-project/commit/0f29319e56459eb26a3bf7fb86e45e63f43a168e
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

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

  Log Message:
  -----------
  [lldb] Determine the main binary in JSON crashlogs

The symbolicator assumes that the first image in the image list is the
main image. That isn't always the case. For JSON crashlogs we can use
the procName to move the main image to the front of the list.

rdar://83907760




More information about the All-commits mailing list