[all-commits] [llvm/llvm-project] 5a1590: [ClangLinkerWrapper] Fix `-v` for newer CMake pass...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Apr 17 05:47:11 PDT 2026
Branch: refs/heads/release/22.x
Home: https://github.com/llvm/llvm-project
Commit: 5a1590c1443358b8eba3aff6312d319e265a4026
https://github.com/llvm/llvm-project/commit/5a1590c1443358b8eba3aff6312d319e265a4026
Author: Joseph Huber <huberjn at outlook.com>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
Log Message:
-----------
[ClangLinkerWrapper] Fix `-v` for newer CMake passing it directly (#188883)
Summary:
Normally `-v` is version for tools, but it's also verbose for the
linker. CMake tries to identify the linker by passing `-Wl,-v` which
goes to the linker wrapper instead. Make this only print version on
`--version` and forward the other one to the linker so it appears
transparent to the host ABI. A bit of a hack, but it should work.
(cherry picked from commit 80b1fbecf4df3296b3976ce3cb42eb7832fc9053)
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