[all-commits] [llvm/llvm-project] b889ef: [lldb/Core] Change large function threshold variab...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Thu Feb 25 13:35:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b889ef4214bc6dc8880fdd4badc0dcd9a3197753
      https://github.com/llvm/llvm-project/commit/b889ef4214bc6dc8880fdd4badc0dcd9a3197753
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M lldb/include/lldb/Core/Debugger.h
    M lldb/source/Commands/CommandObjectDisassemble.cpp
    M lldb/source/Core/CoreProperties.td
    M lldb/source/Core/Debugger.cpp
    M lldb/test/Shell/Commands/command-disassemble-process.yaml
    M lldb/test/Shell/Commands/command-disassemble.s

  Log Message:
  -----------
  [lldb/Core] Change large function threshold variable into a setting.

This patch replaces the static large function threshold variable with a
global debugger setting (`stop-disassembly-max-size`).

The default threshold is now set to 32KB (instead of 8KB) and can be modified.

rdar://74726362

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

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>




More information about the All-commits mailing list