[all-commits] [llvm/llvm-project] 95423c: [clang][driver] Treat -flto=[auto, jobserver] as -flto

tbaederr via All-commits all-commits at lists.llvm.org
Thu May 20 23:39:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95423c7c990d9100deb0056bd9738717cb2bcf2d
      https://github.com/llvm/llvm-project/commit/95423c7c990d9100deb0056bd9738717cb2bcf2d
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2021-05-21 (Fri, 21 May 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/lto.c

  Log Message:
  -----------
  [clang][driver] Treat -flto=[auto,jobserver] as -flto

Instead of ignoring flto=auto and -flto=jobserver, treat them as -flto
and pass -flto=full along.

Differential Revision: https://reviews.llvm.org/D102479




More information about the All-commits mailing list