diff options
author | Dave Lee <davelee.com@gmail.com> | 2025-07-31 10:28:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-31 10:28:12 -0700 |
commit | f23c10f9e68efae7df10745234bf879a84b2d02b (patch) | |
tree | e686bddab4b0a8f4e9f8df85dd547f8403927550 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5d489b82a1d0ae8e28fccdc4a28b36923a5f3959 (diff) | |
download | llvm-f23c10f9e68efae7df10745234bf879a84b2d02b.zip llvm-f23c10f9e68efae7df10745234bf879a84b2d02b.tar.gz llvm-f23c10f9e68efae7df10745234bf879a84b2d02b.tar.bz2 |
[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`.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions