[all-commits] [llvm/llvm-project] af611a: [LinkerWrapper] Fix `-Xoffload-linker a=b` in offl...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Jul 24 09:00:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af611a0a98fec65ab86af4208ca74e01541baba1
      https://github.com/llvm/llvm-project/commit/af611a0a98fec65ab86af4208ca74e01541baba1
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M clang/test/Driver/linker-wrapper.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [LinkerWrapper] Fix `-Xoffload-linker a=b` in offloading (#100270)

Summary:
We have the `-Xoffload-linker=triple=arg` syntax that split the argument
meant only for a single toolchain. However this borke if it was an `a=b`
type argument. Make it only treat it like a triple if it's a valid
triple.



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