[all-commits] [llvm/llvm-project] 56f668: [lldb/DWARF] Remove some dead code (#95127)

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Jun 11 10:49:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56f668c12b1a26e103aafe5ac37930b1895c938b
      https://github.com/llvm/llvm-project/commit/56f668c12b1a26e103aafe5ac37930b1895c938b
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h

  Log Message:
  -----------
  [lldb/DWARF] Remove some dead code (#95127)

`GetDeclContextDIEs` and `DIEDeclContextsMatch` are unused (possibly
since we added support for simplified template names, but I haven't
checked). `GetDeclContextDIEs` is also very similar (but subtly
different) from `GetDeclContext` and `GetTypeLookupContext`.

I am keeping `GetParentDeclContextDIE` as that one still has some
callers, but I want to look into the possibility of merging it with at
least one of the functions mentioned above.



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