[all-commits] [llvm/llvm-project] 40b061: [FatLTO] Detect LLD linker more reliably (#128285)
Vincent Lee via All-commits
all-commits at lists.llvm.org
Sun Feb 23 12:03:58 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40b0619a53231eafaa879d085b7a7a10441c7f34
https://github.com/llvm/llvm-project/commit/40b0619a53231eafaa879d085b7a7a10441c7f34
Author: Vincent Lee <leevince at meta.com>
Date: 2025-02-23 (Sun, 23 Feb 2025)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
A clang/test/Driver/Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/bin/lld-wrapper
M clang/test/Driver/fat-lto-objects.c
Log Message:
-----------
[FatLTO] Detect LLD linker more reliably (#128285)
It's possible to have an `ld-path` point to a linker that doesn't have
the `ld.lld` filename (e.g. linker wrapper that may emit telemetry
before invoking the linker). This was causing mis-compilations with
fatLTO since the check couldn't reliably detect that it was using lld.
Instead, rely on the value from `-fuse-ld` to determine whether lld is
enabled.
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