[all-commits] [llvm/llvm-project] caa107: [HIP] search fatbin symbols for libs passed by -l ...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Sun Aug 18 10:29:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: caa1070b1c880627b223dc3884860a64e4b510c7
https://github.com/llvm/llvm-project/commit/caa1070b1c880627b223dc3884860a64e4b510c7
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/test/Driver/hip-toolchain-rdc.hip
Log Message:
-----------
[HIP] search fatbin symbols for libs passed by -l (#104638)
For -fgpu-rdc linking, clang needs to collect undefined fatbin symbols
and resolve them to the embedded fatbin.
This has been done for object files and archive files passed as input
files to clang.
However, the same action is not performed for archive files passed
through -l options, which causes missing symbols.
This patch adds that.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list