[all-commits] [llvm/llvm-project] 51dd8a: [lldb] Fix value printing for a specific case

Dave Lee via All-commits all-commits at lists.llvm.org
Tue Mar 28 09:39:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51dd8a20c1c32c60d03719e0e40bbc8e6c125477
      https://github.com/llvm/llvm-project/commit/51dd8a20c1c32c60d03719e0e40bbc8e6c125477
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
    M lldb/source/DataFormatters/ValueObjectPrinter.cpp
    M lldb/test/API/commands/dwim-print/TestDWIMPrint.py

  Log Message:
  -----------
  [lldb] Fix value printing for a specific case

Fixes printing of spaces in cases where the following are true:

  1. Persistent results are disabled
  2. The type has a summary string

As reported by @jgorbe in D146783, two spaces were being printed before the summary
string, and no spaces were printed after.

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




More information about the All-commits mailing list