diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-02-22 16:27:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 16:27:53 -0600 |
commit | d5a15f3116f8c3ec32df1f13a2fc521a98b03d96 (patch) | |
tree | fdd17d835b8a8b0ec4eef12e9820151e47c17a5a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | e314622f204a01ffeda59cbe046dd403b01f8b74 (diff) | |
download | llvm-d5a15f3116f8c3ec32df1f13a2fc521a98b03d96.zip llvm-d5a15f3116f8c3ec32df1f13a2fc521a98b03d96.tar.gz llvm-d5a15f3116f8c3ec32df1f13a2fc521a98b03d96.tar.bz2 |
[Clang][NVPTX] Allow passing arguments to the linker while standalone (#73030)
Summary:
We support standalone compilation for the NVPTX architecture using
'nvlink' as our linker. Because of the special handling required to
transform input files to cubins, as nvlink expects for some reason, we
didn't use the standard AddLinkerInput method. However, this also meant
that we weren't forwarding options passed with -Wl to the linker. Add
this support in for the standalone toolchain path.
Revived from https://reviews.llvm.org/D149978
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions