[all-commits] [llvm/llvm-project] bfab18: [lldb] Remove "(i.e. ANSI)" from several property ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Mar 8 18:27:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfab18d86b2784364227631f51735fe17ee82b40
      https://github.com/llvm/llvm-project/commit/bfab18d86b2784364227631f51735fe17ee82b40
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M lldb/source/Core/CoreProperties.td

  Log Message:
  -----------
  [lldb] Remove "(i.e. ANSI)" from several property descriptions.

Addresses Adrian's feedback from D121062.


  Commit: 5a27b99825a5ba3a7a2eec3d35aea381a3ba9a31
      https://github.com/llvm/llvm-project/commit/5a27b99825a5ba3a7a2eec3d35aea381a3ba9a31
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M lldb/include/lldb/Core/Debugger.h
    M lldb/source/Core/CoreProperties.td
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Symbol/LocateSymbolFile.cpp

  Log Message:
  -----------
  [lldb] Show progress events in the command line driver

This patch adds support for showing progress events when using lldb on
the command line. It spawns a separate thread that listens for progress
events and prints them to the debugger's output stream.

It's nothing fancy (yet), for now it just prints the progress message.
If we know the total number of items being processed, we prefix the
message with something like [1/100], similar to ninja's output.

This patch doesn't use any fancy terminal manipulation: it uses a simple
carriage return (\r) to bring the cursor to the front of the line and
vt100 escape codes to clear the (rest) of the line.

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


  Commit: 097d46f41c46a5e03bac673d264754628775b055
      https://github.com/llvm/llvm-project/commit/097d46f41c46a5e03bac673d264754628775b055
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M lldb/include/lldb/Core/Debugger.h
    M lldb/source/Core/CoreProperties.td
    M lldb/source/Core/Debugger.cpp

  Log Message:
  -----------
  [lldb] Add a setting to change the progress color

Add a setting to change how progress is shown in a color enabled
terminal. This follows the existing -prefix, -suffix pattern
that's used elsewhere in lldb.

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


Compare: https://github.com/llvm/llvm-project/compare/845f0bb5fac7...097d46f41c46


More information about the All-commits mailing list