Skip to content

Commit 19cf419

Browse files
authored
Merge pull request #15029 from gottesmm/pr-e40fbacf66d0fc3655419bf3cb1bd0ca8b83fa5b
2 parents 94c3f55 + 37f34cc commit 19cf419

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

utils/lldb/lldbToolBox.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ def import_llvm_dataformatters(debugger):
3636
"blockifyasm")
3737

3838

39-
def create_swift_disassemble_viewcfg(debugger, command, exec_ctx, result,
40-
internal_dict):
39+
def disassemble_asm_cfg(debugger, command, exec_ctx, result, internal_dict):
4140
"""
4241
This function disassembles the current assembly frame into a temporary file
4342
and then uses that temporary file as input to blockifyasm | viewcfg. This
@@ -71,6 +70,6 @@ def disassemble_to_file(debugger, command, exec_ctx, result, internal_dict):
7170
def __lldb_init_module(debugger, internal_dict):
7271
import_llvm_dataformatters(debugger)
7372
debugger.HandleCommand('command script add disassemble-asm-cfg '
74-
'-f lldbToolBox.create_swift_disassemble_viewcfg')
73+
'-f lldbToolBox.disassemble_asm_cfg')
7574
debugger.HandleCommand('command script add disassemble-to-file '
7675
'-f lldbToolBox.disassemble_to_file')

0 commit comments

Comments
 (0)