[all-commits] [llvm/llvm-project] 3c565c: [lldb] Print an error for unsupported combinations...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Feb 9 09:58:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c565c246635cace81f01340cd3d1d7386042478
      https://github.com/llvm/llvm-project/commit/3c565c246635cace81f01340cd3d1d7386042478
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M lldb/source/Commands/CommandObjectLog.cpp
    A lldb/test/Shell/Log/TestHandlers.test

  Log Message:
  -----------
  [lldb] Print an error for unsupported combinations of log options

Print an error for unsupported combinations of log handlers and log
options. Only the stream log handler takes a file and only the circular
and stream handler take a buffer size. This cannot be dealt with through
option groups because the option combinations depend on the requested
handler.

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




More information about the All-commits mailing list