[clang] [LinkerWrapper] Make `-Xoffload-linker` match `-Xlinker` semantics (PR #101032)

Joel E. Denny via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 29 13:11:08 PDT 2024


================
@@ -32,6 +32,9 @@ def builtin_bitcode_EQ : Joined<["--"], "builtin-bitcode=">,
 def device_linker_args_EQ : Joined<["--"], "device-linker=">,
   Flags<[WrapperOnlyOption]>, MetaVarName<"<value> or <triple>=<value>">,
   HelpText<"Arguments to pass to the device linker invocation">;
+def device_compiler_args_EQ : Joined<["--"], "device-compiler=">,
+  Flags<[WrapperOnlyOption]>, MetaVarName<"<value> or <triple>=<value>">,
+  HelpText<"Arguments to pass to the device linker invocation">;
----------------
jdenny-ornl wrote:

```suggestion
  HelpText<"Arguments to pass to the device compiler invocation">;
```

https://github.com/llvm/llvm-project/pull/101032


More information about the cfe-commits mailing list