summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-extract.pod
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-09-16 21:09:17 +0000
committerChad Rosier <mcrosier@apple.com>2011-09-16 21:09:17 +0000
commitf0d3786945e1bb149e0bb5b46437fe8b93140738 (patch)
treefc884246236177407e463a352f1352867e352210 /llvm/docs/CommandGuide/llvm-extract.pod
parent5c3657a0e54887dbf51364dbc636f666f2d41e5d (diff)
downloadbcm5719-llvm-f0d3786945e1bb149e0bb5b46437fe8b93140738.tar.gz
bcm5719-llvm-f0d3786945e1bb149e0bb5b46437fe8b93140738.zip
Add -rfunc and -rglob options to llvm-extract to support regular
expression matching. llvm-svn: 139945
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-extract.pod')
-rw-r--r--llvm/docs/CommandGuide/llvm-extract.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-extract.pod b/llvm/docs/CommandGuide/llvm-extract.pod
index 797e79d128d..67f00f0b861 100644
--- a/llvm/docs/CommandGuide/llvm-extract.pod
+++ b/llvm/docs/CommandGuide/llvm-extract.pod
@@ -37,11 +37,23 @@ B<llvm-extract> will write raw bitcode regardless of the output device.
Extract the function named I<function-name> from the LLVM bitcode. May be
specified multiple times to extract multiple functions at once.
+=item B<--rfunc> I<function-regular-expr>
+
+Extract the function(s) matching I<function-regular-expr> from the LLVM bitcode.
+All functions matching the regular expression will be extracted. May be
+specified multiple times.
+
=item B<--glob> I<global-name>
Extract the global variable named I<global-name> from the LLVM bitcode. May be
specified multiple times to extract multiple global variables at once.
+=item B<--rglob> I<glob-regular-expr>
+
+Extract the global variable(s) matching I<global-regular-expr> from the LLVM
+bitcode. All global variables matching the regular expression will be extracted.
+May be specified multiple times.
+
=item B<-help>
Print a summary of command line options.
OpenPOWER on IntegriCloud