[llvm] [clang] [LinkerWrapper] Support relocatable linking for offloading (PR #80066)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 31 09:15:51 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
----------------
jhuber6 wrote:
Added a test for the HIP and CUDA cases as well as an additional check on passing `-r` to the wrapper image generation.
https://github.com/llvm/llvm-project/pull/80066
More information about the llvm-commits
mailing list