[Lldb-commits] [PATCH] D92223: [lldb] Add support for looking up static const members
Jan Kratochvil via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 30 06:32:59 PST 2020
jankratochvil added a comment.
FYI it would not work with GNU C++ 4.4 (2008, RHEL-5) as it used `DW_TAG_variable` instead of `DW_TAG_member`. But that is probably not a problem, Red Hat's last supported RHEL for new toolchains is since RHEL-6 and for LLVM even just since RHEL-7:
<0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
DW_AT_producer : GNU C++ 4.1.2 20080704 (Red Hat 4.1.2-55)
DW_AT_language : 4 (C++)
...
<1><70>: Abbrev Number: 2 (DW_TAG_class_type)
DW_AT_name : C
...
<2><7a>: Abbrev Number: 3 (DW_TAG_variable)
DW_AT_name : i
DW_AT_decl_file : 1
DW_AT_decl_line : 2
DW_AT_MIPS_linkage_name: _ZN1C1iE
DW_AT_type : <90>
DW_AT_external : 1
DW_AT_accessibility: 3 (private)
DW_AT_declaration : 1
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