[all-commits] [llvm/llvm-project] 71f8ea: [llvm-cxxfilt] Added the option --no-params (#75348)

Dmitry Vasilyev via All-commits all-commits at lists.llvm.org
Tue Jan 2 10:04:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71f8ea3062a6b0a190835853ee77e58469763b9e
      https://github.com/llvm/llvm-project/commit/71f8ea3062a6b0a190835853ee77e58469763b9e
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M libcxxabi/src/demangle/ItaniumDemangle.h
    M llvm/docs/CommandGuide/llvm-cxxfilt.rst
    M llvm/include/llvm/Demangle/Demangle.h
    M llvm/include/llvm/Demangle/ItaniumDemangle.h
    M llvm/lib/Demangle/Demangle.cpp
    M llvm/lib/Demangle/ItaniumDemangle.cpp
    A llvm/test/tools/llvm-cxxfilt/no-params.test
    M llvm/tools/llvm-cxxfilt/Opts.td
    M llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp

  Log Message:
  -----------
  [llvm-cxxfilt] Added the option --no-params (#75348)

Added -p / --no-params flag to skip demangling function parameters
similar to how it is supported by GNU c++filt tool.

There are cases when users want to demangle a large number of symbols in
bulk, for example, at startup, and do not care about function parameters
and overloads at that time. Skipping the demangling of parameter types
led to a measurable improvement in performance. Our users reported about
15% speed up with GNU c++filt and we expect similar results with
llvm-cxxfilt with this patch.




More information about the All-commits mailing list