aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WindowsResource.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-05-30 18:57:51 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-05-30 18:57:51 +0000
commit9780faaf8f86b80804ebdbcdf79a28352529f04c (patch)
treeddfcf14237dcb881ab02b65da335350fa526659c /llvm/lib/Object/WindowsResource.cpp
parent3fa5db4c04c5ea83ba2f374ddaea275b063a49a8 (diff)
downloadllvm-9780faaf8f86b80804ebdbcdf79a28352529f04c.zip
llvm-9780faaf8f86b80804ebdbcdf79a28352529f04c.tar.gz
llvm-9780faaf8f86b80804ebdbcdf79a28352529f04c.tar.bz2
[OpenMP][Driver] Put target binary for each offload target into a
separate section, by Sergey Dmitriev Linker script that is generated by the clang driver for creating fat binary puts target binaries for all offload targets into a single ELF section .omp_offloading. This is not convenient because it greatly complicates operations with the final fat binary once it is linked. For example extracting target binary for a particular target from such fat executable would not be an easy task if you have more than one offload target. Attached patch changes clang driver to put target binary for each offload target into a separate ELF section .omp_offloading.<target triple>. Differential Revision: https://reviews.llvm.org/D33254 llvm-svn: 304229
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions