[PATCH] D80413: [docs][llvm-extract] Add missing alias/bb options
Jinsong Ji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 21 15:12:47 PDT 2020
jsji created this revision.
jsji added reviewers: qcolombet, volkan.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
llvm-extract get serveral new options, but we forgot to update doc.
This patch update the doc.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80413
Files:
llvm/docs/CommandGuide/llvm-extract.rst
Index: llvm/docs/CommandGuide/llvm-extract.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-extract.rst
+++ llvm/docs/CommandGuide/llvm-extract.rst
@@ -26,6 +26,28 @@
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 @@
Preserve the values of constant globals.
+**--delete**
+
+ Recursively extract all called functions
+
**-help**
Print a summary of command line options.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80413.265621.patch
Type: text/x-patch
Size: 1266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/d3cd42b8/attachment.bin>
More information about the llvm-commits
mailing list