[all-commits] [llvm/llvm-project] 9e7837: [llvm-libtool-darwin] Allow flattening archives

Sameer Arora via All-commits all-commits at lists.llvm.org
Tue Jul 21 13:54:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e783716a2249e333dfe731628b72dcda7e8c2d6
      https://github.com/llvm/llvm-project/commit/9e783716a2249e333dfe731628b72dcda7e8c2d6
  Author: Sameer Arora <sameerarora101 at fb.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    A llvm/test/tools/llvm-libtool-darwin/archive-flattening.test
    M llvm/tools/llvm-libtool-darwin/CMakeLists.txt
    M llvm/tools/llvm-libtool-darwin/LLVMBuild.txt
    M llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp

  Log Message:
  -----------
  [llvm-libtool-darwin] Allow flattening archives

Add support for flattening archives while creating static libraries.
Hence, can now pass archives as input in addition to Mach-O binaries.
Furthermore, archives themselves must only conatain Mach-O binaries. As
per cctools' libtool's behavior, llvm-libtool-darwin does not flatten
archives recursively.

Reviewed by alexshap, smeenai, jhenderson

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




More information about the All-commits mailing list