[all-commits] [llvm/llvm-project] bd2853: [llvm-libtool-darwin] Add support for -arch_only

Sameer Arora via All-commits all-commits at lists.llvm.org
Thu Aug 13 11:10:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bd2853f7998d41e0d16c00e2b043e35b688eaf00
      https://github.com/llvm/llvm-project/commit/bd2853f7998d41e0d16c00e2b043e35b688eaf00
  Author: Sameer Arora <sameerarora101 at fb.com>
  Date:   2020-08-13 (Thu, 13 Aug 2020)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-libtool-darwin.rst
    A llvm/test/tools/llvm-libtool-darwin/cpu-subtype-matching.test
    A llvm/test/tools/llvm-libtool-darwin/universal-file-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] Add support for -arch_only

Add support for -arch_only option for llvm-libtool-darwin. This diff
also adds support for accepting universal files as input and flattening
them to create the required static library. Supports input universal
files contaning both Mach-O object files or archives.

Differences from cctools' libtool:
- `-arch_only` can be specified multiple times
- archives containing universal files are considered invalid (libtool
allows such archives)

Reviewed by jhenderson, smeenai

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




More information about the All-commits mailing list