[all-commits] [llvm/llvm-project] 066153: [AMDGPU] Prepend --no-undefined option for linker ...
Jacob Lambert via All-commits
all-commits at lists.llvm.org
Wed Aug 23 12:49:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0661533e4168202476d660d3b18bbe13db16cc43
https://github.com/llvm/llvm-project/commit/0661533e4168202476d660d3b18bbe13db16cc43
Author: Jacob Lambert <jacob.lambert at amd.com>
Date: 2023-08-23 (Wed, 23 Aug 2023)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/test/Driver/amdgpu-toolchain-opencl.cl
M clang/test/Driver/amdgpu-toolchain.c
Log Message:
-----------
[AMDGPU] Prepend --no-undefined option for linker instead of append
Previously, for linking in amdgpu contexts, the --no-undefined was appended to the options passed to lld,
overriding any user-supplied options via "-Wl," or "-Xlinker". We now prepend --no-undefined so that
the user options are respected.
Differential Revision: https://reviews.llvm.org/D158582
More information about the All-commits
mailing list