[all-commits] [llvm/llvm-project] f968bd: Reland "[lldb/DWARF] Only match mangled name in fu...

Jaroslav Sevcik via All-commits all-commits at lists.llvm.org
Wed Aug 4 03:50:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f968bd77bbcf142afdb74750e53485b044de3e5f
      https://github.com/llvm/llvm-project/commit/f968bd77bbcf142afdb74750e53485b044de3e5f
  Author: Jaroslav Sevcik <jarin at google.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
    M lldb/test/API/lang/cpp/printf/TestPrintf.py
    M lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-function.cpp

  Log Message:
  -----------
  Reland "[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, teemperor

Reviewed By: labath, teemperor

Subscribers: aprantl, arphaman, lldb-commits

Tags: #lldb

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




More information about the All-commits mailing list