diff options
author | nerix <nerixdev@outlook.de> | 2025-09-04 19:30:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-04 19:30:34 +0200 |
commit | bdb9283eec633585a14f7b1640822448c17ed71a (patch) | |
tree | dd394e212f803576e94c1c2c056f32de0acc6034 /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
parent | 31a6fedb982a7d9ea6d37f6ae86a220e5a141cd5 (diff) | |
download | llvm-bdb9283eec633585a14f7b1640822448c17ed71a.zip llvm-bdb9283eec633585a14f7b1640822448c17ed71a.tar.gz llvm-bdb9283eec633585a14f7b1640822448c17ed71a.tar.bz2 |
[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/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions