gtbercea added inline comments.

================
Comment at: test/Driver/openmp-offload.c:497
 // RUN:   %clang -###  -fopenmp=libomp -o %t.out -lsomelib -target 
powerpc64le-linux 
-fopenmp-targets=powerpc64le-ibm-linux-gnu,x86_64-pc-linux-gnu %t.i 
-no-canonical-prefixes 2>&1 \
 // RUN:   | FileCheck -check-prefix=CHK-UBJOBS %s
 // RUN:   %clang -### -fopenmp=libomp -o %t.out -lsomelib -target 
powerpc64le-linux 
-fopenmp-targets=powerpc64le-ibm-linux-gnu,x86_64-pc-linux-gnu %t.i -save-temps 
-no-canonical-prefixes 2>&1 \
----------------
sfantao wrote:
> We need a test for the static linking. The host linker has to be nvcc in that 
> case, right?
The host linker is "ld". The "bundling" step is replaced (in the case of OpenMP 
NVPTX device offloading only) by a call to "ld -r" to partially link the 2 
object files: the object file produced by the HOST toolchain and the object 
file produced by the OpenMP NVPTX device offloading toolchain (because we want 
to produce a single output).


Repository:
  rC Clang

https://reviews.llvm.org/D47394



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to