summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2019-06-07 22:03:02 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2019-06-07 22:03:02 +0000
commit85ea2de4b54bee3db5e9e9125d47b5a279c53909 (patch)
tree3dc5741fdcb521d48a247b5f563429625618bc53 /llvm/docs/CommandGuide
parent7dd813fea1d4a35b1e98426d6981535348ce0e9f (diff)
downloadbcm5719-llvm-85ea2de4b54bee3db5e9e9125d47b5a279c53909.tar.gz
bcm5719-llvm-85ea2de4b54bee3db5e9e9125d47b5a279c53909.zip
[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 llvm-svn: 362848
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/index.rst1
-rw-r--r--llvm/docs/CommandGuide/llvm-lipo.rst33
2 files changed, 34 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/index.rst b/llvm/docs/CommandGuide/index.rst
index 650ff071fcc..b461757d997 100644
--- a/llvm/docs/CommandGuide/index.rst
+++ b/llvm/docs/CommandGuide/index.rst
@@ -22,6 +22,7 @@ Basic Commands
llvm-link
llvm-ar
llvm-lib
+ llvm-lipo
llvm-nm
llvm-objdump
llvm-config
diff --git a/llvm/docs/CommandGuide/llvm-lipo.rst b/llvm/docs/CommandGuide/llvm-lipo.rst
new file mode 100644
index 00000000000..5ef7bccd4ae
--- /dev/null
+++ b/llvm/docs/CommandGuide/llvm-lipo.rst
@@ -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/>.
OpenPOWER on IntegriCloud