[all-commits] [llvm/llvm-project] 9d955a: [driver] Allow `ld` as a driver alias to lld (#90515)

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Mon Apr 29 13:31:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d955a63c7b0d2d547a63d4074e03cd5ebd1f162
      https://github.com/llvm/llvm-project/commit/9d955a63c7b0d2d547a63d4074e03cd5ebd1f162
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-04-29 (Mon, 29 Apr 2024)

  Changed paths:
    M lld/tools/lld/CMakeLists.txt
    M llvm/test/tools/llvm-driver/passthrough-lld.test
    M llvm/tools/llvm-driver/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/llvm/driver.bzl

  Log Message:
  -----------
  [driver] Allow `ld` as a driver alias to lld (#90515)

This adds a "hidden" alias kind that allows using LLD when symlinked as
`ld`; however, it does not install `ld` as a symlink. This is to allow
either using a mixed toolchain with both LLD and GNU ld, or a pure LLD
toolchain where LLD has been installed (or symlinked) to `ld` for
compatibility w/ older tools that expect `ld`.



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