diff options
| author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-06-10 15:16:15 -0400 |
|---|---|---|
| committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-07-21 13:20:04 -0400 |
| commit | fbcb1ee7f3648c0b3f326db32a7ae0772b962e06 (patch) | |
| tree | 26ab3068d89fe89bf428a059cbddd59d456ea60f /llvm/tools/llvm-cov/CodeCoverage.cpp | |
| parent | 080022d8ed6c1bd9ba5ece33cfea248f9473e775 (diff) | |
| download | llvm-fbcb1ee7f3648c0b3f326db32a7ae0772b962e06.zip llvm-fbcb1ee7f3648c0b3f326db32a7ae0772b962e06.tar.gz llvm-fbcb1ee7f3648c0b3f326db32a7ae0772b962e06.tar.bz2 | |
[Libomptarget] Add support for offloading binaries in libomptarget
The previous path changed the linker wrapper to embed the offloading
binary format inside the target image instead. This will allow us to
more generically bundle metadata with these images, such as requires
clauses or the target architecture it was compiled for.
I wasn't sure how to handle this best, so I introduced a new type that
replaces the old `__tgt_device_image` struct that we can expand inside
the runtime library. I made the new `__tgt_device_binary` struct pretty
much the same for now. In the future we could change this struct to
pretty much be the `OffloadBinary` class in the future.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D127432
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions
