Invoking `InitLLVM` cause `applyPassManagerCLOptions` fail

I added llvm::InitLLVM(argc, argv); in toyc.cpp (in Ch5) to print crash stack traces.


int main(int argc, char **argv) {
  // Register any command line options.
  mlir::registerAsmPrinterCLOptions();
  mlir::registerMLIRContextCLOptions();
  mlir::registerPassManagerCLOptions();

  cl::ParseCommandLineOptions(argc, argv, "toy compiler\n");
  llvm::InitLLVM(argc, argv);

  // ...
}

In the latest commit (aed9646d), this will lead to applyPassManagerCLOptions failure and stop me from executing passes.