[PATCH] D65676: [llvm-lipo] Update llvm-lipo docs for -info -thin -create -replace -segalign flags
Anusha Basana via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 16:25:09 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368235: [llvm-lipo] Update llvm-lipo docs for -info -thin -create -replace -segalign… (authored by anushabasana, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D65676?vs=214025&id=214030#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65676/new/
https://reviews.llvm.org/D65676
Files:
llvm/trunk/docs/CommandGuide/llvm-lipo.rst
Index: llvm/trunk/docs/CommandGuide/llvm-lipo.rst
===================================================================
--- llvm/trunk/docs/CommandGuide/llvm-lipo.rst
+++ llvm/trunk/docs/CommandGuide/llvm-lipo.rst
@@ -18,15 +18,15 @@
.. option:: -help, -h
- Display usage information and exit.
+ Display usage information and exit.
.. option:: -version
- Display the version of this program.
+ 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.
+ 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.
.. option:: -archs
@@ -35,6 +35,38 @@
Each architecture is separated by a single whitespace.
Unknown architectures are displayed as unknown(CPUtype,CPUsubtype).
+.. option:: -info
+
+ Take at least one input file and display the descriptions of each file.
+ The descriptions include the filename and architecture types separated by whitespace.
+ Universal binaries are grouped together first, followed by thin files.
+ Architectures in the fat file: <filename> are: <architectures>
+ Non-fat file: <filename> is architecture: <architecture>
+
+.. option:: -thin
+
+ Take a single universal binary input file and the thin flag followed by an architecture type.
+ Require the output flag to be specified, and output a thin binary of the specified architecture.
+
+.. option:: -create
+
+ Take at least one input file and require the output flag to be specified.
+ Output a universal binary combining the input files.
+
+.. option:: -replace
+
+ Take a single universal binary input file and require the output flag to be specified.
+ The replace flag is followed by an architecture type, and a thin input file.
+ Output a universal binary with the specified architecture slice in the
+ universal binary input replaced with the contents of the thin input file.
+
+.. option:: -segalign
+
+ Additional flag that can be specified with create and replace.
+ The segalign flag is followed by an architecture type, and an alignment.
+ The alignment is a hexadecimal number that is a power of 2.
+ Output a file in which the slice with the specified architecture has the specified alignment.
+
BUGS
----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65676.214030.patch
Type: text/x-patch
Size: 2396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190807/f700fbc9/attachment.bin>
More information about the llvm-commits
mailing list