If all LLVM passes are disabled, we can't emit a summary because there could be unnamed globals in the IR.
Thanks. Can you fix the same code in EmitAssemblyWithNewPassManager?
Fix new pass manager.
LGTM