[all-commits] [llvm/llvm-project] 8c749f: [lldb] Fix "exact match" debug_names type queries ...

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Dec 3 06:19:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c749ff8aa787049cea4d4f7331493ee17565344
      https://github.com/llvm/llvm-project/commit/8c749ff8aa787049cea4d4f7331493ee17565344
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
    M lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-type.cpp

  Log Message:
  -----------
  [lldb] Fix "exact match" debug_names type queries (#118465)

.. in the global namespace

The problem was the interaction of #116989 with an optimization in
GetTypesWithQuery. The optimization was only correct for non-exact
matches, but that didn't matter before this PR due to the "second layer
of defense". After that was removed, the query started returning more
types than it should.



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