[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 05:53:48 PST 2020


werat created this revision.
Herald added subscribers: lldb-commits, arphaman.
Herald added a project: LLDB.
werat requested review of this revision.
Herald added a subscriber: JDevlieghere.

Static const/constexpr members might have only DW_TAG_member entry with a
DW_AT_const_value attribute. Since there is no corresponding DW_TAG_variable
entry, these values are currently not indexed in the DWARF index and are not
available via SBTarget::FindGlobalVariables() API.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92223

Files:
  lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
  lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  lldb/test/API/python_api/target/globals/Makefile
  lldb/test/API/python_api/target/globals/TestTargetGlobals.py
  lldb/test/API/python_api/target/globals/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92223.308031.patch
Type: text/x-patch
Size: 7949 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201127/f1e9fe8b/attachment-0001.bin>


More information about the lldb-commits mailing list