swift
dacf5b47 - Add an option -sil-break-before-pass-count to break before running a pass when in the debugger

Commit
1 year ago
Add an option -sil-break-before-pass-count to break before running a pass when in the debugger We often look at the SIL output of -sil-print-function and may want to debug a specific pass after looking at the output. -sil-break-before-pass-count=<pass_number> will allow to automatically break in the debugger after <pass_count> of passes are run. Example: From -sil-print-function dump: "SIL function after #6680, stage MidLevel,Function, pass 38: RedundantLoadElimination" -Xllvm -sil-break-before-pass-count=6680 will break before running this pass in the debugger
Author
Committer
Parents
Loading