[all-commits] [llvm/llvm-project] 1b1276: [lldb/DWARF] Only match mangled name in full-name ...

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Jan 28 03:19:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b12766883006b8aa9d1ff744e57317647aa052a
      https://github.com/llvm/llvm-project/commit/1b12766883006b8aa9d1ff744e57317647aa052a
  Author: Jaroslav Sevcik <jarin at google.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
    M lldb/test/Shell/SymbolFile/DWARF/find-basic-function.cpp

  Log Message:
  -----------
  [lldb/DWARF] Only match mangled name in full-name function lookup (with accelerators)

Summary:
In the spirit of https://reviews.llvm.org/D70846, we only return functions with matching mangled name from Apple/DebugNamesDWARFIndex::GetFunction if eFunctionNameTypeFull is requested.

This speeds up lookup in the presence of large amount of class methods of the same name (a typical examples would be constructors of templates with many instantiations or overloaded operators).

Reviewers: labath

Reviewed By: labath

Subscribers: aprantl, arphaman, lldb-commits

Tags: #lldb

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




More information about the All-commits mailing list