[Lldb-commits] [lldb] [lldb] Lookup static const members in FindGlobalVariables (PR #111859)
Ilia Kuklin via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 24 11:16:10 PDT 2024
kuilpd wrote:
> It might actually be better to fix this problem during indexing, in the ManualDWARFIndex -- basically, if we're indexing a v4 unit _and_ we run into a static const(expr?) variable (can we detect that reliably by looking at the DIE alone?), then we add it to the index, just as if it was a v5 DW_TAG_variable.
Implemented this as best as I could understand from the DWARF specs, but not sure if there are some cases where the checks I made can be false positive.
> Could we re-use `TestConstStaticIntegralMember.py`? Surprised it doesn't already have the tests added here XFAILed
Thank you, I expanded this test instead of making a new one.
https://github.com/llvm/llvm-project/pull/111859
More information about the lldb-commits
mailing list