[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] DWARFv5: support DW_TAG_variable static data members declarations (PR #72236)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 15 08:38:38 PST 2023


================
@@ -2965,6 +2965,7 @@ void DWARFASTParserClang::ParseSingleMember(
   // data members is DW_AT_declaration, so we check it instead.
   // FIXME: Since DWARFv5, static data members are marked DW_AT_variable so we
   // can consistently detect them on both GCC and Clang without below heuristic.
+  // Remove this block if we ever drop DWARFv4 support.
----------------
JDevlieghere wrote:

FWIW this seems extremely unlikely. It doesn't really matter, but I would've just said that the next block is specific to DWARF4. 

https://github.com/llvm/llvm-project/pull/72236


More information about the lldb-commits mailing list