[OpenMP] Add support for extracting device code in linker wrapper
This patchs add support for extracting device offloading code from the linker's input files. If the file contains a section with the name `.llvm.offloading.<triple>.<arch>` it will be extracted to a new temporary file to be linked. Addtionally, the host file containing it will have the section stripped so it does not remain in the executable once linked. Depends on D116544 Differential Revision: https://reviews.llvm.org/D116545
Loading
Please sign in to comment