[all-commits] [llvm/llvm-project] 9bdb7e: [lldb] Add a log dump command

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Jun 27 10:02:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bdb7e573427ac3785cb10829da57ee18ef65ce3
      https://github.com/llvm/llvm-project/commit/9bdb7e573427ac3785cb10829da57ee18ef65ce3
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M lldb/include/lldb/Host/Host.h
    M lldb/include/lldb/Utility/Log.h
    M lldb/source/Commands/CommandObjectLog.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Host/common/Host.cpp
    M lldb/source/Utility/Log.cpp
    A lldb/test/API/commands/log/basic/TestLogHandlers.py

  Log Message:
  -----------
  [lldb] Add a log dump command

Add a log dump command to dump logs to a file. This only works for
channels that have a log handler associated that supports dumping. For
now that's limited to the circular log handler, but more could be added
in the future.

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




More information about the All-commits mailing list