[all-commits] [llvm/llvm-project] 3d9d48: [lldb][DWARF] Fix adding children to clang type th...

Zequan Wu via All-commits all-commits at lists.llvm.org
Thu May 30 10:05:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d9d48523977af3590f7dd0edfd258454cb9e9cf
      https://github.com/llvm/llvm-project/commit/3d9d48523977af3590f7dd0edfd258454cb9e9cf
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp

  Log Message:
  -----------
  [lldb][DWARF] Fix adding children to clang type that hasn't started definition. (#93839)

This fixes
https://github.com/llvm/llvm-project/pull/92328#issuecomment-2139339444
by not differentiating `DW_TAG_class_type` and `DW_TAG_structure_type`
in `UniqueDWARFASTTypeList`, because it's possible that DIE for a type
is `DW_TAG_class_type` in one CU but is `DW_TAG_structure_type` in a
different CU.

---------

Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list