[all-commits] [llvm/llvm-project] 70509b: [LLDB] Allow one-line summaries in the presence of...

Adrian Prantl via All-commits all-commits at lists.llvm.org
Fri Mar 6 10:07:29 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70509b5e19645bcfd81d382d2cdb560eeb187da1
      https://github.com/llvm/llvm-project/commit/70509b5e19645bcfd81d382d2cdb560eeb187da1
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M lldb/source/DataFormatters/FormatManager.cpp
    A lldb/test/API/functionalities/data-formatter/synth_oneline_summaries/Makefile
    A lldb/test/API/functionalities/data-formatter/synth_oneline_summaries/MyStringFormatter.py
    A lldb/test/API/functionalities/data-formatter/synth_oneline_summaries/TestSyntheticOneLineSummaries.py
    A lldb/test/API/functionalities/data-formatter/synth_oneline_summaries/main.c

  Log Message:
  -----------
  [LLDB] Allow one-line summaries in the presence of synthetic child providers (#184926)

This is driven by the Swift language. In Swift many data types such as
Int, and String are structs, and LLDB provides summary formatters and
synthetic child providers for them. For String, for example, a summary
formatter pulls out the string data from the implementation, while a
synthetic child provider hides the implementation details from users, so
strings don't expand their children.

rdar://171646109



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list