[all-commits] [llvm/llvm-project] 8b259f: [lldb] Trust the arange accelerator tables in dSYMs

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Jan 9 14:35:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b259fe573e109ea03c91aca34d5bd60f1a432ff
      https://github.com/llvm/llvm-project/commit/8b259fe573e109ea03c91aca34d5bd60f1a432ff
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

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

  Log Message:
  -----------
  [lldb] Trust the arange accelerator tables in dSYMs

When ingesting aranges from a dSYM, always trust the contents of the
accelerator table since it always comes from dsymutil.

According to Instruments, skipping the decoding of all CU DIEs to get at
the DW_AT_ranges attribute removes ~3.5 seconds from setting a
breakpoint by file/line when debugging clang with a dSYM. Interestingly
on the wall clock the speedup is less noticeable, but still present.

rdar://problem/56057688

Differential Revision: https://reviews.llvm.org/D68655




More information about the All-commits mailing list