[llvm] r362848 - [llvm-lipo] Add docs for llvm-lipo

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 15:03:02 PDT 2019


Author: alexshap
Date: Fri Jun  7 15:03:02 2019
New Revision: 362848

URL: http://llvm.org/viewvc/llvm-project?rev=362848&view=rev
Log:
[llvm-lipo] Add docs for llvm-lipo

Add docs (llvm-lipo.rst) for llvm-lipo.

Test plan:
make -j8 sphinx 
check that ./docs/html/CommandGuide/llvm-lipo.html is built correctly and looks okay.

Differential revision: https://reviews.llvm.org/D62706

Added:
    llvm/trunk/docs/CommandGuide/llvm-lipo.rst
Modified:
    llvm/trunk/docs/CommandGuide/index.rst

Modified: llvm/trunk/docs/CommandGuide/index.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/index.rst?rev=362848&r1=362847&r2=362848&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/index.rst (original)
+++ llvm/trunk/docs/CommandGuide/index.rst Fri Jun  7 15:03:02 2019
@@ -22,6 +22,7 @@ Basic Commands
    llvm-link
    llvm-ar
    llvm-lib
+   llvm-lipo
    llvm-nm
    llvm-objdump
    llvm-config

Added: llvm/trunk/docs/CommandGuide/llvm-lipo.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-lipo.rst?rev=362848&view=auto
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-lipo.rst (added)
+++ llvm/trunk/docs/CommandGuide/llvm-lipo.rst Fri Jun  7 15:03:02 2019
@@ -0,0 +1,33 @@
+llvm-lipo - LLVM tool for manipulating universal binaries
+=========================================================
+
+SYNOPSIS
+--------
+
+:program:`llvm-lipo` [*filenames...*] [*options*]
+
+DESCRIPTION
+-----------
+:program:`llvm-lipo` can create universal binaries from Mach-O files, extract regular object files from universal binaries, and display architecture information about both universal and regular files.
+
+COMMANDS
+--------
+:program:`llvm-lipo` supports the following mutually exclusive commands:
+
+.. option:: -help, -h
+
+  Display usage information and exit. 
+
+.. option:: -version
+
+  Display the version of this program. 
+
+.. option:: -verify_arch  <architecture 1> [<architecture 2> ...]
+
+  Take a single input file and verify the specified architectures are present in the file. 
+  If so then exit with a status of 0 else exit with a status of 1.
+
+BUGS
+----
+
+To report bugs, please visit <http://llvm.org/bugs/>.




More information about the llvm-commits mailing list