[clang] [LinkerWrapper] Relax ordering of static libraries for offloading (PR #87532)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 9 10:11:43 PDT 2024


yxsamliu wrote:

if a.o depends on b.o in libb.a, and b.o depends on c.o in libb.a, will the linker wrapper be able to link all the dependencies?

For archive of objects with embedded device bitcode, why not creating an archive of device bitcode for each required target ID and let lld handle the dependencies in its usual way?

https://github.com/llvm/llvm-project/pull/87532


More information about the cfe-commits mailing list