diff options
author | Siu Chi Chan <siuchi.chan@amd.com> | 2023-06-06 15:48:26 -0400 |
---|---|---|
committer | Siu Chi Chan <siuchi.chan@amd.com> | 2023-06-09 08:50:44 -0400 |
commit | f1aee32f1c85aa476bce70ec110284011c6df354 (patch) | |
tree | 357b8cd34f2225af4da4c065103df54fda456da8 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | cf6d7d5f6df9d9dcaeca78d5f4be735ea74651b0 (diff) | |
download | llvm-f1aee32f1c85aa476bce70ec110284011c6df354.zip llvm-f1aee32f1c85aa476bce70ec110284011c6df354.tar.gz llvm-f1aee32f1c85aa476bce70ec110284011c6df354.tar.bz2 |
[HIP] Instruct lld to go through all archives
Add the --whole-archive flag when linking HIP programs to instruct lld
to go through every archive library to link in all the kernel functions
(entry pointers to the GPU program); otherwise, lld may skip some
library files if there are no more symbols that need to be resolved.
Differential Revision: https://reviews.llvm.org/D152207
Change-Id: I084d3d606f9cee646f9adc65f4b648c9bcb252e6
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions