llvm-project/clang/tools
Sergey Dmitriev a0d83768f1 [Clang][OpenMP Offload] Add new tool for wrapping offload device binaries
This patch removes the remaining part of the OpenMP offload linker scripts which was used for inserting device binaries into the output linked binary. Device binaries are now inserted into the host binary with a help of the wrapper bit-code file which contains device binaries as data. Wrapper bit-code file is dynamically created by the clang driver with a help of new tool clang-offload-wrapper which takes device binaries as input and produces bit-code file with required contents. Wrapper bit-code is then compiled to an object and resulting object is appended to the host linking by the clang driver.

This is the second part of the patch for eliminating OpenMP linker script (please see https://reviews.llvm.org/D64943).

Differential Revision: https://reviews.llvm.org/D68166

llvm-svn: 374219
2019-10-09 20:42:58 +00:00
..
arcmt-test ArrayRef'ized CompilerInvocation::CreateFromArgs 2019-08-27 22:13:31 +00:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test [clang][Index] Replace CodegenNameGenerator with ASTNameGenerator 2019-09-05 20:33:52 +00:00
clang-check [clang] [cmake] Use add_clang_tool() to install all tools 2019-10-04 20:28:59 +00:00
clang-diff [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-extdef-mapping [clang] [cmake] Use add_clang_tool() to install all tools 2019-10-04 20:28:59 +00:00
clang-format [clang-format] [NFC] Ensure clang-format is itself clang-formatted. 2019-10-07 16:53:35 +00:00
clang-format-vs clang-format extension: Widen the supported versions range 2019-06-13 07:07:24 +00:00
clang-fuzzer [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-import-test [clang][lldb][NFC] Encapsulate ExternalASTMerger::ImporterSource 2019-10-01 09:02:05 +00:00
clang-offload-bundler [clang-offload-bundler] Support `.cui` and `.d`. 2019-10-09 13:53:37 +00:00
clang-offload-wrapper [Clang][OpenMP Offload] Add new tool for wrapping offload device binaries 2019-10-09 20:42:58 +00:00
clang-refactor Changed FrontendActionFactory::create to return a std::unique_ptr 2019-08-29 16:38:36 +00:00
clang-rename Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
clang-scan-deps [clang-scan-deps] strip the --serialize-diagnostics argument 2019-09-21 00:17:26 +00:00
clang-shlib [CMake] Clang: Don't use object libraries with Xcode 2019-10-04 18:17:58 +00:00
diag-build
diagtool [diagtool] Use `operator<<(Colors)` to print out colored output. 2019-08-08 07:04:01 +00:00
driver Add missing null pointer check in -ftime-trace code 2019-10-04 18:57:01 +00:00
libclang Correct function declarations; NFC. 2019-09-30 14:43:52 +00:00
scan-build [clang] [cmake] Add distribution install targets for remaining components 2019-10-04 05:43:20 +00:00
scan-build-py [tools] Fix python DeprecationWarning: invalid escape sequence 2019-02-11 15:03:17 +00:00
scan-view [clang] [cmake] Add distribution install targets for remaining components 2019-10-04 05:43:20 +00:00
CMakeLists.txt [Clang][OpenMP Offload] Add new tool for wrapping offload device binaries 2019-10-09 20:42:58 +00:00