Skip to content

Add a utility script to split a disassembled function from lldb into basic blocks. #14379

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
merged 2 commits into from
Feb 3, 2018

Conversation

eeckstein
Copy link
Contributor

Useful to show the control flow graph of a disassembled function.
The control flow graph can the be viewed with the viewcfg utility:

(lldb) disassemble
  <copy-paste output to file.s>
$ blockifyasm < file.s | viewcfg

…basic blocks.

Useful to show the control flow graph of a disassembled function.
The control flow graph can the be viewed with the viewcfg utility:

(lldb) disassemble
   <copy-paste output to file.s>
$ blockifyasm < file.s | viewcfg
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 2707fef into swiftlang:master Feb 3, 2018
@gottesmm
Copy link
Contributor

gottesmm commented Feb 3, 2018

@eeckstein FYI, I think we can add this to lldb directly if you want. Then copy/paste isn't needed = ).

@eeckstein eeckstein deleted the blockifyasm branch April 17, 2021 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants