[llvm] [clang] [LinkerWrapper] Support relocatable linking for offloading (PR #80066)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 08:45:44 PST 2024


================
@@ -181,5 +181,6 @@ __attribute__((visibility("protected"), used)) int x;
 // RUN:   --linker-path=/usr/bin/ld.lld -- -r --whole-archive %t.a --no-whole-archive \
 // RUN:   %t.o -o a.out 2>&1 | FileCheck %s --check-prefix=RELOCATABLE-LINK
 
----------------
yxsamliu wrote:

need to check device fatbin bundling is done and device wrapper fatbin variable using internal linkage and in postfixed section.

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


More information about the cfe-commits mailing list