[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 02:01:28 PDT 2024
================
@@ -3490,7 +3490,7 @@ VariableSP SymbolFileDWARF::ParseVariableDIE(const SymbolContext &sc,
ModuleSP module = GetObjectFile()->GetModule();
if (tag != DW_TAG_variable && tag != DW_TAG_constant &&
- (tag != DW_TAG_formal_parameter || !sc.function))
+ tag != DW_TAG_member && (tag != DW_TAG_formal_parameter || !sc.function))
----------------
Michael137 wrote:
Should we bail out (or at least assert) if we detect a `DW_AT_data_member_location`? Though I guess technically nothing should be calling `ParseVariableDIE` with such a DIE?
https://github.com/llvm/llvm-project/pull/111859
More information about the lldb-commits
mailing list