[all-commits] [llvm/llvm-project] 80a494: [clang][Driver] Allow -fuse-lld=lld-link when lto ...

Zhaoshi Zheng via All-commits all-commits at lists.llvm.org
Sun Nov 3 18:25:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80a49487e1b64d32d00f0c80cff746cfd4988b36
      https://github.com/llvm/llvm-project/commit/80a49487e1b64d32d00f0c80cff746cfd4988b36
  Author: Zhaoshi Zheng <zhaoshiz at quicinc.com>
  Date:   2024-11-03 (Sun, 03 Nov 2024)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/clang_f_opts.c
    A clang/test/Driver/windows-lto.c

  Log Message:
  -----------
  [clang][Driver] Allow -fuse-lld=lld-link when lto is enabled on *windows-msvc targets (#113966)

Follow-up on https://github.com/llvm/llvm-project/pull/109607, we have a
use case on Windows-on-ARM64 where `cmake -G "Unix Makefiles"` generates
`-fuse-ld=lld-link`, which is accidentally disallowed by PR#109607.



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