mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This works by dumping the disassembly of the current assembly frame into a temporary file and then running: blockifyasm < tmpfile | viewcfg without having to leave lldb. I also fixed a small bug in the lldb-with-tools.in script where the input was passed onto lldb as: lldb -O '...' -- $@ The -- should not have been there since sometimes one wants to /not/ use a -- argument form to lldb.
4 lines
95 B
Bash
4 lines
95 B
Bash
#!/bin/bash
|
|
|
|
lldb -O 'command script import "@SWIFT_SOURCE_DIR@/utils/lldb/lldbToolBox.py"' $@
|