[all-commits] [llvm/llvm-project] 66b409: llvm-link: Add support for archive files as inputs

jsjodin via All-commits all-commits at lists.llvm.org
Tue Jul 14 12:31:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 66b409582a1d349a3ce5480237aeab92dd5ebde1
      https://github.com/llvm/llvm-project/commit/66b409582a1d349a3ce5480237aeab92dd5ebde1
  Author: Jan Sjodin <jan_sjodin at yahoo.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    A llvm/test/tools/llvm-link/Inputs/f.ll
    A llvm/test/tools/llvm-link/Inputs/g.ll
    A llvm/test/tools/llvm-link/Inputs/h.ll
    A llvm/test/tools/llvm-link/archive-bad.ll
    A llvm/test/tools/llvm-link/archive.ll
    A llvm/test/tools/llvm-link/archivell.ll
    M llvm/tools/llvm-link/llvm-link.cpp

  Log Message:
  -----------
  llvm-link: Add support for archive files as inputs

This patch adds support for archive files as inputs to llvm-link. One
of the use-cases is for OpenMP, where device specific libraries need
to be extracted from libraries containing bundled object files. The
clang-offload-bundler will support extracting these archives, which
will be passed into llvm-link, see https://reviews.llvm.org/D80816.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list