Have you seen `utils/pass-pipeline/scripts/pipelines_build_script.py`, it looks like it might give some hints? -- $ sgit grep external-pass-pipeline-filename include/swift/Option/FrontendOptions.td:def external_pass_pipeline_filename : Separate<["-"], "external-pass-pipeline-filename">, utils/pass-pipeline/scripts/pipelines_build_script.py: '-external-pass-pipeline-filename\;-Xfrontend\;%s' % data_file] --
- Daniel > On Jun 28, 2017, at 5:27 AM, Vasileios Kalintiris via swift-dev > <swift-dev@swift.org> wrote: > > Hi all, > > Please, let me know if I should post this to another list. > > I'm trying to figure out what is the expected YAML format of the > -external-pass-pipeline-filename option. > > Dumping the pass pipeline under -O and feeding it back to the compiler with > this option doesn't work (from swift-3.1-branch). > > I thought to ask here because I'm not entirely sure that the relevant YAML > parsing code from SILPassPipelinePlan::getPassPipelineFromFile() accepts > valid YAML input. > > Thanks, > Vasileios > _______________________________________________ > swift-dev mailing list > swift-dev@swift.org > https://lists.swift.org/mailman/listinfo/swift-dev _______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev