[Lldb-commits] [PATCH] D92643: [lldb] Lookup static const members in FindGlobalVariables
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 4 02:48:40 PST 2020
labath added a comment.
In D92643#2433365 <https://reviews.llvm.org/D92643#2433365>, @werat wrote:
> This approach feels a little bit "adhoc" (i.e. manually going through the DIE entries for const members), but it works :) Please, let me know if there's a better way to do this!
Are the static members included in the (SB)Type object that gets created when parsing the enclosing type? If yes, we might be able to retrieve them that way. Whether that would be cleaner -- I'm not sure...
(I would expect they are included, as otherwise they would be unavailable to the expression evaluator.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92643/new/
https://reviews.llvm.org/D92643
More information about the lldb-commits
mailing list