llvm-project
bdb9283e - [LLDB][NativePDB] Find global variables in namespaces (#156736)

Commit
64 days ago
[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).
Author
Parents
Loading