[llvm] 9b7fba1 - [docs][llvm-extract] Add missing alias/bb options

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 20:52:22 PDT 2020


Author: Jinsong Ji
Date: 2020-05-22T03:52:07Z
New Revision: 9b7fba1421114b3af7965ac3dbe8a82640b9b5c2

URL: https://github.com/llvm/llvm-project/commit/9b7fba1421114b3af7965ac3dbe8a82640b9b5c2
DIFF: https://github.com/llvm/llvm-project/commit/9b7fba1421114b3af7965ac3dbe8a82640b9b5c2.diff

LOG: [docs][llvm-extract] Add missing alias/bb options

llvm-extract get serveral new options, but we forgot to update doc.
This patch update the doc.

Reviewed By: volkan

Differential Revision: https://reviews.llvm.org/D80413

Added: 
    

Modified: 
    llvm/docs/CommandGuide/llvm-extract.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/llvm-extract.rst b/llvm/docs/CommandGuide/llvm-extract.rst
index 8e23e70cc402..17d2e9df1dda 100644
--- a/llvm/docs/CommandGuide/llvm-extract.rst
+++ b/llvm/docs/CommandGuide/llvm-extract.rst
@@ -26,6 +26,28 @@ standard output, unless the **-o** option is specified (see below).
 OPTIONS
 -------
 
+**--alias** *alias-name*
+
+ Extract the alias named *function-name* from the LLVM bitcode.  May be
+ specified multiple times to extract multiple alias at once.
+
+**--ralias** *alias-regular-expr*
+
+ Extract the alias matching *alias-regular-expr* from the LLVM bitcode.
+ All alias matching the regular expression will be extracted.  May be
+ specified multiple times.
+
+**--bb** *basic-block-specifier*
+
+ Extract basic blocks(s) specicified in *basic-block-specifier*. May be
+ specified multiple times. Each <function:bb[;bb]> specifier pair will create
+ a function. If multiple basic blocks are specified in one pair, the first
+ block in the sequence should dominate the rest.
+
+**--delete**
+
+ Delete specified Globals from Module.
+
 **-f**
 
  Enable binary output on terminals.  Normally, :program:`llvm-extract` will
@@ -59,6 +81,10 @@ OPTIONS
 
  Preserve the values of constant globals.
 
+**--recursive**
+
+ Recursively extract all called functions
+
 **-help**
 
  Print a summary of command line options.


        


More information about the llvm-commits mailing list