diff options
author | Anusha Basana <anusha.basana@gmail.com> | 2019-08-07 23:25:12 +0000 |
---|---|---|
committer | Anusha Basana <anusha.basana@gmail.com> | 2019-08-07 23:25:12 +0000 |
commit | a87f856f2d9db0c72c3e59e581527f1cb3a9118a (patch) | |
tree | bc62e504cf131d0fb7644dc153b6395280e6cf7d /llvm/docs/CommandGuide | |
parent | 2921abc35736a27708298fd08ac88b0cd240f696 (diff) | |
download | bcm5719-llvm-a87f856f2d9db0c72c3e59e581527f1cb3a9118a.tar.gz bcm5719-llvm-a87f856f2d9db0c72c3e59e581527f1cb3a9118a.zip |
[llvm-lipo] Update llvm-lipo docs for -info -thin -create -replace -segalign flags
Summary:
The information for -info -thin -create -replace and -segalign flags are added to llvm-lipo.rst
Test Plan:
Reviewers: smeenai, alexshap, compnerd, mtrent
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65676
llvm-svn: 368235
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-lipo.rst | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/llvm/docs/CommandGuide/llvm-lipo.rst b/llvm/docs/CommandGuide/llvm-lipo.rst index 13f56347836..7e661153a65 100644 --- a/llvm/docs/CommandGuide/llvm-lipo.rst +++ b/llvm/docs/CommandGuide/llvm-lipo.rst @@ -18,15 +18,15 @@ COMMANDS .. 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 @@ COMMANDS 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 ---- |