[all-commits] [llvm/llvm-project] 94206c: [lldb] Preparation for DWARF indexing speedup (#12...

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Apr 23 04:36:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94206c9700d52e1a9e42da10e32f0368f9503b44
      https://github.com/llvm/llvm-project/commit/94206c9700d52e1a9e42da10e32f0368f9503b44
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
    M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h
    A lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndexSet.cpp
    A lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndexSet.h
    M lldb/unittests/SymbolFile/DWARF/DWARFIndexCachingTest.cpp

  Log Message:
  -----------
  [lldb] Preparation for DWARF indexing speedup (#123732)

This is part of the work proposed in

<https://discourse.llvm.org/t/rfc-speeding-up-dwarf-indexing-again/83979>.
One of the change is that the there will be a different structure for
holding the partial indexes and the final (consolidated) index. To
prepare for this, I'm making the IndexSet structure a template. The
index cache encoding/decoding methods are changed into free functions,
as they only need to know how to work with the final index.

I've moved this functionality to a separate file as all this doesn't
really depend on the rest of the ManualDWARFIndex and it needs to be
public due to its use in the unit test (both of which indicate that it
could be a component of its own).



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