Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OpenMP] Improve symbol resolution for OpenMP Offloading LTO
This patch improves the symbol resolution done for LTO with offloading applications. The symbol resolution done here allows the LTO backend to internalize more functions. The symbol resoltion done is a simplified view that does not take into account various options like `--wrap` or `--dyanimic-list` and always assumes we are creating a shared object. The actual target may be an executable, but semantically it is used as a shared object because certain objects need to be visible outside of the executable when they are read by the OpenMP plugin. Depends on D117246 Differential Revision: https://reviews.llvm.org/D118155
- Loading branch information
Showing
1 changed file
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters