commit | 5836c356fa6e17d0e10a2f9e0e111b7236dc15fb | [log] [tgz] |
---|---|---|
author | Sergey Dmitriev <serguei.n.dmitriev@intel.com> | Tue Oct 15 18:42:47 2019 +0000 |
committer | Sergey Dmitriev <serguei.n.dmitriev@intel.com> | Tue Oct 15 18:42:47 2019 +0000 |
tree | d11c2d7c5593e1921d789504949047f0c40bb475 | |
parent | 215a8d948d6600dcbfd68dfc8d5331a86b1d5591 [diff] |
[Clang][OpenMP Offload] Move offload registration code to the wrapper The final list of OpenMP offload targets becomes known only at the link time and since offload registration code depends on the targets list it makes sense to delay offload registration code generation to the link time instead of adding it to the host part of every fat object. This patch moves offload registration code generation from clang to the offload wrapper tool. This is the last part of the OpenMP linker script elimination patch https://reviews.llvm.org/D64943 Differential Revision: https://reviews.llvm.org/D68746 llvm-svn: 374937