Static const members initialized inside a class definition might not have a corresponding DW_TAG_variable, so they're not indexed by ManualDWARFIndex.
Add an additional lookup in FindGlobalVariables. Try looking up the enclosing type (e.g. foo::bar for foo::bar::A) and then searching for a static const member (A) within this type.
clang-tidy: error: 'lldb/Core/UniqueCStringMap.h' file not found [clang-diagnostic-error]
not useful
clang-tidy: error: 'lldb/Core/UniqueCStringMap.h' file not found [clang-diagnostic-error]
not useful