[all-commits] [llvm/llvm-project] f23c10: [lldb] Fallback to expression eval when Dump of va...

Dave Lee via All-commits all-commits at lists.llvm.org
Thu Jul 31 10:28:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f23c10f9e68efae7df10745234bf879a84b2d02b
      https://github.com/llvm/llvm-project/commit/f23c10f9e68efae7df10745234bf879a84b2d02b
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2025-07-31 (Thu, 31 Jul 2025)

  Changed paths:
    M lldb/source/Commands/CommandObjectDWIMPrint.cpp

  Log Message:
  -----------
  [lldb] Fallback to expression eval when Dump of variable fails in dwim-print (#151374)

Previously, when dwim-print finds a frame variables, it returns immediately after
calling `Dump`, even if `Dump` returns an error. This is most likely to happen when
evaluating an object description, ie `po`.

This changes dwim-print to continue on to expression evaluation when `Dump`ing a
variable returns an error . This is to allow for diagnostics that match `expression`.



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