]> granicus.if.org Git - llvm/commit
Sanitize llvm-extract -help output
authorSerge Guelton <sguelton@redhat.com>
Wed, 12 Jun 2019 21:08:19 +0000 (21:08 +0000)
committerSerge Guelton <sguelton@redhat.com>
Wed, 12 Jun 2019 21:08:19 +0000 (21:08 +0000)
commitbecd3ddef1af0d4b0ee4c69f7455a09ae1134dcd
treee74ad62e799486482d388bc48ecab305a7d73455
parentc2c5135f15025156427bf8cdf0d74803b3b48c49
Sanitize llvm-extract -help output

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

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363201 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-extract/llvm-extract.cpp