[PATCH] D66485: [Clang][Bundler] Use llvm-objcopy for creating fat object files
Sergey Dmitriev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 20 10:16:55 PDT 2019
sdmitriev created this revision.
sdmitriev added a reviewer: ABataev.
Herald added subscribers: cfe-commits, abrachet, mgorny.
Herald added a reviewer: alexshap.
Herald added a reviewer: jdoerfert.
Herald added a project: clang.
clang-offload-bundler currently uses partial linking for creating fat object files, but such technique cannot be used on Windows due to the absence of partial linking support in the linker. This patch changes implementation to use llvm-objcopy for merging device and host objects instead of doing partial linking. This is one step forward towards enabling OpenMP offload on Windows.
Repository:
rC Clang
https://reviews.llvm.org/D66485
Files:
clang/test/CMakeLists.txt
clang/test/Driver/clang-offload-bundler.c
clang/tools/clang-offload-bundler/CMakeLists.txt
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66485.216186.patch
Type: text/x-patch
Size: 11030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190820/0c9e434f/attachment-0001.bin>
More information about the cfe-commits
mailing list