[all-commits] [llvm/llvm-project] 027aee: [Clang] Respect `-L` options when compiling direct...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu May 11 14:03:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 027aeec7da67afe33b159f5e42dec57488897454
https://github.com/llvm/llvm-project/commit/027aeec7da67afe33b159f5e42dec57488897454
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/amdgpu-toolchain.c
Log Message:
-----------
[Clang] Respect `-L` options when compiling directly for AMDGPU
The AMDGPU linker is `lld`, which has full support for standard features
like static libraries. Previously the AMDGPU toolchain did not forward
`-L` arguments so we could not tell it where to find certain libraries.
This patch simply forwards it like the other toolchains.
Reviewed By: yaxunl, MaskRay
Differential Revision: https://reviews.llvm.org/D150013
More information about the All-commits
mailing list