[all-commits] [llvm/llvm-project] 8e2cc1: [LinkerWrapper] Forward more arguments to the CPU ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Dec 18 09:17:04 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8e2cc19e2e60d348859c0967a2707bcc8cb9936a
https://github.com/llvm/llvm-project/commit/8e2cc19e2e60d348859c0967a2707bcc8cb9936a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2023-12-18 (Mon, 18 Dec 2023)
Changed paths:
M clang/test/Driver/linker-wrapper.c
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[LinkerWrapper] Forward more arguments to the CPU offloading linker (#75757)
Summary:
The CPU target currently inherits all the libraries from the normal link
job to ensure that it has access to the same envrionment that the host
does. However, this previously was not respecting argument libraries
that are passed by name rather than `-l` as well as the whole archive
flags. This patch fixes this to allow the CPU linker to correctly pick
up the libraries associated with things like address sanitizers.
Fixes: https://github.com/llvm/llvm-project/issues/75651
More information about the All-commits
mailing list