mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
To print the module, use the new llvm flag -sil-print-canonical-module which parallels the existing flag -sil-view-canonical-cfg. When that flag is passed, the new pass ModulePrinter is added to the diagnostic pass pipeline after mandatory diagnostics have run. The new pass just prints the module to stdout.
1.2 KiB
1.2 KiB