swift
4aa51ffe - PassManager: add the `-sil-pass-count-config-file` for easier bisecting pass counts in large projects

Commit
1 year ago
PassManager: add the `-sil-pass-count-config-file` for easier bisecting pass counts in large projects This is useful for bisecting passes in large projects: 1. create a config file from a full build log. E.g. with ``` grep -e '-module-name' build.log | sed -e 's/.*-module-name \([^ ]*\) .*/\1:10000000/' | sort | uniq > config.txt ``` 2. add the `-Xllvm -sil-pass-count-config-file config.txt` option to the project settings 3. bisect by modifying the counts in the config file 4. clean-rebuild after each bisecting step
Author
Parents
Loading