[PATCH] D105564: Fix for DWARF parsing to better handle auto return type for member functions

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 13:28:08 PDT 2022


aprantl accepted this revision.
aprantl added inline comments.


================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:403
     case DW_AT_type:
-      type = form_value;
+      if (!type.IsValid())
+        type = form_value;
----------------
Could you add a comment explaining why this is necessary? (see conversation below)


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

https://reviews.llvm.org/D105564



More information about the cfe-commits mailing list