[all-commits] [llvm/llvm-project] fcf947: [lldb] Don't instrument demangling.

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Dec 23 10:43:31 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcf9479f7d65754cf311d8e5be1046f1ace28945
      https://github.com/llvm/llvm-project/commit/fcf9479f7d65754cf311d8e5be1046f1ace28945
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
    M lldb/source/Core/Mangled.cpp

  Log Message:
  -----------
  [lldb] Don't instrument demangling.

Don't instrument demangling calls. These functions are very hot and
instrumenting them quickly results in too much data to be useful.


  Commit: a9448872fec52fc57249934b02a4d4f15f223051
      https://github.com/llvm/llvm-project/commit/a9448872fec52fc57249934b02a4d4f15f223051
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/source/Commands/CommandObjectCommands.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp

  Log Message:
  -----------
  [lldb] Refactor and simplify GetCommandSPExact interface

GetCommandSPExact is called exaclty once with include_aliases set to
true, so make it a default argument. Use early returns to simplify the
implementation.


Compare: https://github.com/llvm/llvm-project/compare/42980a789d22...a9448872fec5


More information about the All-commits mailing list