[all-commits] [llvm/llvm-project] 42230e: [LinkerWrapper] Allow 'all' as a generic bundled a...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Feb 8 15:17:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42230e213e11a0cf9cdbdcd49225eb0d325ef007
      https://github.com/llvm/llvm-project/commit/42230e213e11a0cf9cdbdcd49225eb0d325ef007
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M clang/test/Driver/linker-wrapper.c
    M llvm/lib/Object/OffloadBinary.cpp

  Log Message:
  -----------
  [LinkerWrapper] Allow 'all' as a generic bundled architecture (#81193)

Summary:
Currently, the linker wrapper sorts input files into different link
jobs according to their architectures. Here we assume each architecture
is a unique and incompatible link job unless they are specifically
marked compatible. This patch simply adds an `all` target to represent
an architecture that should be linked against every single other
architecture.

This will be useful for modelling generic IR such as the ROCm device
libraries or the NVPTX libdevice.




More information about the All-commits mailing list