[all-commits] [llvm/llvm-project] f5ffd8: [lldb] Treat synthetic variables as always in scop...
Nerixyz via All-commits
all-commits at lists.llvm.org
Fri Jul 31 06:08:25 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5ffd86a9bd6dd9327669448c3b604ce9b658941
https://github.com/llvm/llvm-project/commit/f5ffd86a9bd6dd9327669448c3b604ce9b658941
Author: Nerixyz <nerixdev at outlook.de>
Date: 2026-07-31 (Fri, 31 Jul 2026)
Changed paths:
M lldb/source/Symbol/Variable.cpp
M lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
Log Message:
-----------
[lldb] Treat synthetic variables as always in scope (#204177)
When the variables in scope are requested, synthetic variables wouldn't
be returned, because `Variable::IsInScope` would return false. With this
PR, we return true for synthetic variables.
There's still one inconsistency between `frame var` and
`SBFrame::GetVariables` where `frame var` shows "re-exported" variables
from real frames (here: `variable_in_main`). Note that
`IsSyntheticValueType` returns false for `variable_in_main`.
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