[Lldb-commits] [lldb] [lldb] Lookup static const members in FindGlobalVariables (PR #111859)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 25 01:09:26 PDT 2024
================
@@ -614,7 +614,7 @@ DWARFDebugInfoEntry::GetAbbreviationDeclarationPtr(const DWARFUnit *cu) const {
}
bool DWARFDebugInfoEntry::IsGlobalOrStaticScopeVariable() const {
- if (Tag() != DW_TAG_variable)
+ if (Tag() != DW_TAG_variable && Tag() != DW_TAG_member)
----------------
Michael137 wrote:
This patch is about supporting `DW_TAG_member`s that are static variables right? Wouldn't those be children of `DW_TAG_subprogram`s and thus fail this check anyway?
https://github.com/llvm/llvm-project/pull/111859
More information about the lldb-commits
mailing list