[Lldb-commits] [PATCH] D92643: [lldb] Lookup static const members in FindGlobalVariables

Andy Yankovsky via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 4 03:00:55 PST 2020


werat added a comment.

In D92643#2433428 <https://reviews.llvm.org/D92643#2433428>, @labath wrote:

> 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.)

I think they're not as of now, but there's a patch from @teemperor to add them there -- D81471 <https://reviews.llvm.org/D81471>

Also, I was looking at `Type/TypeSystem` and it seems there's no API right now to get static members from a `Type`.


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