[all-commits] [llvm/llvm-project] 7b4792: [lldb] Reinvoke crashlog under lldb when run with ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jun 7 16:21:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b4792159cb7990f50c839713be4dbf6b31191e9
      https://github.com/llvm/llvm-project/commit/7b4792159cb7990f50c839713be4dbf6b31191e9
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

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

  Log Message:
  -----------
  [lldb] Reinvoke crashlog under lldb when run with -i from the command line

Run crashlog inside lldb when invoked in interactive mode from the
command line. Currently, when passing -i to crashlog from the command
line, we symbolicate in LLDB and immediately exit right after. This
pretty much defeats the purpose of interactive mode. That said, we
wouldn't want to re-implement the driver from the crashlog script.
Re-invoking the crashlog command from inside LLDB solves the issue.

rdar://97801509

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




More information about the All-commits mailing list