[all-commits] [llvm/llvm-project] eb1905: opt: Don't exit when we can't create a TargetMachine

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Oct 4 14:17:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb1905d2b6928be4b0258f021d145432ab7d292e
      https://github.com/llvm/llvm-project/commit/eb1905d2b6928be4b0258f021d145432ab7d292e
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  opt: Don't exit when we can't create a TargetMachine

This more closly matches the previous behaviour that silently ignored the
failure. We now print a warning instead of exiting.
Fixes: a8f8613dec435cfb78bf202c392f2acf150a5937




More information about the All-commits mailing list