The -frontend jobs can output a JSON file summarizing the swiftmodules (etc.) they load during compilation.