[all-commits] [llvm/llvm-project] 93a672: [ToolChains][FreeBSD] Set default Linker to LLD fo...
aokblast via All-commits
all-commits at lists.llvm.org
Mon Apr 13 22:10:29 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 93a67259cf23a555bf3905ce0f6ff349014689f0
https://github.com/llvm/llvm-project/commit/93a67259cf23a555bf3905ce0f6ff349014689f0
Author: aokblast <aokblast at FreeBSD.org>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M clang/lib/Driver/ToolChains/FreeBSD.h
M clang/test/Driver/coverage-ld.c
M clang/test/Driver/instrprof-ld.c
M clang/test/Driver/sanitizer-ld.c
Log Message:
-----------
[ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596)
When the linker is specified as ld, toolchain applies special handling
by invoking (triple)-ld instead of resolving ld via standard PATH
lookup. This causes GNU ld installed via the system package manager to
take the precedence (since (triple)-ld appears earlier in the search
path), effectively overriding ld.lld.
As a result, we set the default Linker on FreeBSD to ld.lld to indicate
we want to use lld by default.
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