aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorSaiyedul Islam <Saiyedul.Islam@amd.com>2021-10-08 09:19:15 +0000
committerSaiyedul Islam <Saiyedul.Islam@amd.com>2021-10-08 09:37:51 +0000
commit35ebe4cc24f87397762e35831953c4bfe5f52def (patch)
tree5a7cfbac7cd1a67b7e0910e002a1394ff9459370 /lldb/unittests/ScriptInterpreter/Python
parentdcb0e687faebb8b8c31f61a0deb8c583125ffc72 (diff)
downloadllvm-35ebe4cc24f87397762e35831953c4bfe5f52def.zip
llvm-35ebe4cc24f87397762e35831953c4bfe5f52def.tar.gz
llvm-35ebe4cc24f87397762e35831953c4bfe5f52def.tar.bz2
[Clang][OpenMP] Add partial support for Static Device Libraries
An archive containing device code object files can be passed to clang command line for linking. For each given offload target it creates a device specific archives which is either passed to llvm-link if the target is amdgpu, or to clang-nvlink-wrapper if the target is nvptx. -L/-l flags are used to specify these fat archives on the command line. E.g. clang++ -fopenmp -fopenmp-targets=nvptx64 main.cpp -L. -lmylib It currently doesn't support linking an archive directly, like: clang++ -fopenmp -fopenmp-targets=nvptx64 main.cpp libmylib.a Linking with x86 offload also does not work. Reviewed By: ye-luo Differential Revision: https://reviews.llvm.org/D105191
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions