[Lldb-commits] [PATCH] D92223: [lldb] Add support for looking up static const members

Andy Yankovsky via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 27 07:27:05 PST 2020


werat added reviewers: jarin, aprantl, shafik.
werat added a comment.

Hi, please, take a look at this patch.

It seems Pavel already did some work for class-level static const variables in https://reviews.llvm.org/D86615, although that didn't work the case I've encountered.

In my example (which is also reflected in the test I've added), class-level static constexpr variable is presented in DWARF only via `DW_TAG_member` with `DW_AT_const_value`. The code one the lookup path looks only at `DW_TAG_variable`, which are not present.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92223/new/

https://reviews.llvm.org/D92223



More information about the lldb-commits mailing list