[all-commits] [llvm/llvm-project] 92eeff: [Clang] Forward `-Xarch_<arch> -Wl, foo` for GPU to...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Feb 7 09:44:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92eeff4f592018cde3fbc311412b07e028493668
      https://github.com/llvm/llvm-project/commit/92eeff4f592018cde3fbc311412b07e028493668
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/offload-Xarch.c

  Log Message:
  -----------
  [Clang] Forward `-Xarch_<arch> -Wl,foo` for GPU toolchains (#126248)

Summary:
This patch handles the use of `-Xarch_<arch> -Wl,foo` to send an
argument to the linker for the embedded offloading jobs in the linker
wrapper. This makes it equivalent to `-Xoffload-linker foo`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list