[all-commits] [llvm/llvm-project] 6c8995: Add formatting support for VSCode logpoints message

jeffreytan81 via All-commits all-commits at lists.llvm.org
Tue Nov 1 08:44:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c8995649afac04a9eb0e71affd997e493c9b93a
      https://github.com/llvm/llvm-project/commit/6c8995649afac04a9eb0e71affd997e493c9b93a
  Author: Jeffrey Tan <jeffreytan at fb.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_logpoints.py
    M lldb/tools/lldb-vscode/BreakpointBase.cpp
    M lldb/tools/lldb-vscode/BreakpointBase.h

  Log Message:
  -----------
  Add formatting support for VSCode logpoints message

https://reviews.llvm.org/D127702 adds the initial logpoints support in
lldb-vscode. This patch further improves it by:
1. Adding a newline at the end of each log message
2. Support most of the format specifiers like \t, \n, \x etc..

The implementation is borrowed from FormatEntity::ParseInternal(). Future
patch should merge these two implementations.

Differential Revision: https://reviews.llvm.org/D136697




More information about the All-commits mailing list