[all-commits] [llvm/llvm-project] ef23bb: [Linkerwrapper] Make -Xoffload-linker pass directl...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Dec 11 05:56:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef23bba6e5aecbc6008e8a9ff8740fc4b04fe814
https://github.com/llvm/llvm-project/commit/ef23bba6e5aecbc6008e8a9ff8740fc4b04fe814
Author: Joseph Huber <huberjn at outlook.com>
Date: 2023-12-11 (Mon, 11 Dec 2023)
Changed paths:
M clang/test/Driver/linker-wrapper.c
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[Linkerwrapper] Make -Xoffload-linker pass directly to `clang`
Summary:
We provide `-Xoffload-linker` to pass arguments directly to the link
step. Currently this uses `-Wl,` implicitly which prevents us from using
clang options that we otherwise could make use of. This patch removes
that implicit behavior as users can just as easiliy pass
`-Xoffload-linker -Wl,-foo` if needed.
More information about the All-commits
mailing list