File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2963,9 +2963,9 @@ void DWARFASTParserClang::ParseSingleMember(
2963
2963
// whereas GCC emits it only for static data members if not part of an
2964
2964
// anonymous namespace. The flag that is consistently emitted for static
2965
2965
// data members is DW_AT_declaration, so we check it instead.
2966
- // FIXME: Since DWARFv5, static data members are marked DW_AT_variable so we
2966
+ // The following block is only necessary to support DWARFv4 and earlier.
2967
+ // Starting with DWARFv5, static data members are marked DW_AT_variable so we
2967
2968
// can consistently detect them on both GCC and Clang without below heuristic.
2968
- // Remove this block if we ever drop DWARFv4 support.
2969
2969
if (attrs.member_byte_offset == UINT32_MAX &&
2970
2970
attrs.data_bit_offset == UINT64_MAX && attrs.is_declaration ) {
2971
2971
CreateStaticMemberVariable (die, attrs, class_clang_type);
You can’t perform that action at this time.
0 commit comments