[all-commits] [llvm/llvm-project] 869baa: [ClangPackager] Add an option to extract inputs to...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Jun 23 13:04:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 869baa9125736f6140ef770e4a3a852c5f9be505
      https://github.com/llvm/llvm-project/commit/869baa9125736f6140ef770e4a3a852c5f9be505
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M clang/test/Driver/offload-packager.c
    M clang/tools/clang-offload-packager/ClangOffloadPackager.cpp

  Log Message:
  -----------
  [ClangPackager] Add an option to extract inputs to an archive

Currently we simply overwrite the output file if we get muliple matches
in the fatbinary. This patch introduces the `--archive` option which
allows us to combine all of the files into a static archive instead.
This is usefuly for creating a device specific static archive library
from a fatbinary.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D153568




More information about the All-commits mailing list