[PATCH] D62511: Sanitize llvm-extract -help output

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 01:27:49 PDT 2019


serge-sans-paille created this revision.
serge-sans-paille added reviewers: jhenderson, loladiro.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Filter out irrelevant options

New output:

  OVERVIEW: llvm extractor
  
  USAGE: llvm-extract [options] <input bitcode file>
  
  OPTIONS:
  
  Generic Options:
  
    --help              - Display available options (--help-hidden for more)
    --help-list         - Display list of available options (--help-list-hidden for more)
    --version           - Display the version of this program
  
  llvm-extract Options:
  
    --alias=<alias>     - Specify alias to extract
    --bb=<function:bb>  - Specify <function, basic block> pairs to extract
    --delete            - Delete specified Globals from Module
    -f                  - Enable binary output on terminals
    --func=<function>   - Specify function to extract
    --glob=<global>     - Specify global to extract
    -o=<filename>       - Specify output filename
    --ralias=<ralias>   - Specify alias(es) to extract using a regular expression
    --recursive         - Recursively extract all called functions
    --rfunc=<rfunction> - Specify function(s) to extract using a regular expression
    --rglob=<rglobal>   - Specify global(s) to extract using a regular expression


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62511

Files:
  llvm/tools/llvm-extract/llvm-extract.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62511.201619.patch
Type: text/x-patch
Size: 6581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190528/a4917fb9/attachment.bin>


More information about the llvm-commits mailing list