[PATCH] D123313: [OpenMP] Make clang argument handling for the new driver more generic
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 19 10:02:41 PDT 2022
yaxunl added inline comments.
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:6949-6952
+ "-fembed-offload-object=" + File + "," +
+ Action::GetOffloadKindName(OffloadAction->getOffloadingDeviceKind()) +
+ "," + TC->getTripleString() + "," + Arch));
Linux path may contain ',' which cannot be passed by this option.
We've seen similar issues with -inputs= option of clang-offload-bundler. To solve that issue, we had to add support of multiple -input= options.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits