aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-06-13 15:26:55 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2022-06-23 13:15:01 -0400
commit6e6889288cdc8433f33723d977c99be5f07423f4 (patch)
treebc69081d6dd2cef7dc46df88f52e653551b7df57 /clang/lib/Frontend/CompilerInvocation.cpp
parent865812c3af7e0e5df5df1c9c9d36b8f3436b7167 (diff)
downloadllvm-6e6889288cdc8433f33723d977c99be5f07423f4.zip
llvm-6e6889288cdc8433f33723d977c99be5f07423f4.tar.gz
llvm-6e6889288cdc8433f33723d977c99be5f07423f4.tar.bz2
[Offloading] Embed the target features in the OffloadBinary
The target features are necessary for correctly compiling most programs in LTO mode. Currently, these are derived in clang at link time and passed as an arguemnt to the linker wrapper. This is problematic because it requires knowing the required toolchain at link time, which should not be necessry. Instead, these features should be embedded into the offloading binary so we can unify them in the linker wrapper for LTO. This also required changing the offload packager to interpret multiple arguments as concatenation with a comma. This is so we can still use the `,` separator for the argument list. Depends on D127246 Reviewed By: tra Differential Revision: https://reviews.llvm.org/D127686
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions