[all-commits] [llvm/llvm-project] ea9e11: [lldb][NFCI] Remove duplicated code in DWARFParser...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Thu Oct 19 14:10:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea9e116e5a24e834142bc4024b57697b48599a9e
      https://github.com/llvm/llvm-project/commit/ea9e116e5a24e834142bc4024b57697b48599a9e
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

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

  Log Message:
  -----------
  [lldb][NFCI] Remove duplicated code in DWARFParser (#69531)

The method DWARFDebugInfoEntry::Extract needs to skip over all the data
in the debug_info / debug_types section for each DIE. It had the logic
to do so hardcoded inside a loop, when it already exists in a neatly
isolated function.




More information about the All-commits mailing list