[all-commits] [llvm/llvm-project] 96a50e: [Clang] Accept `-flto=none` similar to `-fno-lto` ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Jun 3 16:46:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96a50e0ee0959dd3095b0d3c561fab0c5f5fe94c
      https://github.com/llvm/llvm-project/commit/96a50e0ee0959dd3095b0d3c561fab0c5f5fe94c
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M clang/lib/Driver/ToolChain.cpp
    M clang/test/Driver/lto.c

  Log Message:
  -----------
  [Clang] Accept `-flto=none` similar to `-fno-lto` (#201460)

Summary:
Personal preference, but I would like to be able to set all the LTO
kinds from the string, and it feels a little odd to need to use
`-fno-lto` to override the mode.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list