Skip to content

[lldb-with-tools] Rename create_swift_disassemble_viewcfg => disassem… #15029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions utils/lldb/lldbToolBox.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ def import_llvm_dataformatters(debugger):
"blockifyasm")


def create_swift_disassemble_viewcfg(debugger, command, exec_ctx, result,
internal_dict):
def disassemble_asm_cfg(debugger, command, exec_ctx, result, internal_dict):
"""
This function disassembles the current assembly frame into a temporary file
and then uses that temporary file as input to blockifyasm | viewcfg. This
Expand Down Expand Up @@ -71,6 +70,6 @@ def disassemble_to_file(debugger, command, exec_ctx, result, internal_dict):
def __lldb_init_module(debugger, internal_dict):
import_llvm_dataformatters(debugger)
debugger.HandleCommand('command script add disassemble-asm-cfg '
'-f lldbToolBox.create_swift_disassemble_viewcfg')
'-f lldbToolBox.disassemble_asm_cfg')
debugger.HandleCommand('command script add disassemble-to-file '
'-f lldbToolBox.disassemble_to_file')