diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-05-18 15:07:56 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-05-18 15:07:56 +0000 |
commit | 29155b01c13d6ee67af9a8a6fd3b0c3b444ed306 (patch) | |
tree | a8af55686b5866c54471979afe280704f480ee76 /llvm/lib/IR/Module.cpp | |
parent | 655ef1875b92266c8ad81bf2b28ad92350894ca9 (diff) | |
download | llvm-29155b01c13d6ee67af9a8a6fd3b0c3b444ed306.zip llvm-29155b01c13d6ee67af9a8a6fd3b0c3b444ed306.tar.gz llvm-29155b01c13d6ee67af9a8a6fd3b0c3b444ed306.tar.bz2 |
[HIP] Support offloading by linker script
To support linking device code in different source files, it is necessary to
embed fat binary at host linking stage.
This patch emits an external symbol for fat binary in host codegen, then
embed the fat binary by lld through a linker script.
Differential Revision: https://reviews.llvm.org/D46472
llvm-svn: 332724
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions