From 85ea2de4b54bee3db5e9e9125d47b5a279c53909 Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Fri, 7 Jun 2019 22:03:02 +0000 Subject: [PATCH] [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 --- llvm/docs/CommandGuide/index.rst | 1 + llvm/docs/CommandGuide/llvm-lipo.rst | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 llvm/docs/CommandGuide/llvm-lipo.rst diff --git a/llvm/docs/CommandGuide/index.rst b/llvm/docs/CommandGuide/index.rst index 650ff07..b461757 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 0000000..5ef7bcc --- /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 [ ...] + + 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 . -- 2.7.4