summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authornerix <nerixdev@outlook.de>2025-09-04 19:30:34 +0200
committerGitHub <noreply@github.com>2025-09-04 19:30:34 +0200
commitbdb9283eec633585a14f7b1640822448c17ed71a (patch)
treedd394e212f803576e94c1c2c056f32de0acc6034 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent31a6fedb982a7d9ea6d37f6ae86a220e5a141cd5 (diff)
[LLDB][NativePDB] Find global variables in namespaces (#156736)
To find global variables, `SymbolFileNativePDB` used to search the globals stream for the name passed to `FindGlobalVariables`. However, the symbols in the globals stream contain the fully qualified name and `FindGlobalVariables` only gets the basename. The approach here is similar to the one for types and functions. As we already search the globals stream for functions, we can cache the basenames for global variables there as well. This makes the `expressions.test` from the DIA PDB plugin pass with the native one (#114906).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions