[all-commits] [llvm/llvm-project] 1e7ec3: [lldb] Adjust default target.max-children-depth (#...

Michael Buch via All-commits all-commits at lists.llvm.org
Thu Jul 17 13:24:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e7ec351c40af981e299743a955d71c7d70753a8
      https://github.com/llvm/llvm-project/commit/1e7ec351c40af981e299743a955d71c7d70753a8
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M lldb/source/Target/TargetProperties.td
    A lldb/test/Shell/Settings/TestChildDepthTruncation.test
    M lldb/test/Shell/SymbolFile/NativePDB/Inputs/class_layout.lldbinit

  Log Message:
  -----------
  [lldb] Adjust default target.max-children-depth (#149282)

Deeply nested structs can be noisy, so Apple's LLDB fork sets the
default to `4`:
https://github.com/swiftlang/llvm-project/blob/9c93adbb283005ab416fd155b75fd43e6a8288ca/lldb/source/Target/TargetProperties.td#L134-L136

Thought it would be useful to upstream this. Though happy to pick a
different default or keep it as-is.



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