[PATCH] D66438: [llvm-extract] Update the help message for group extraction feature
Jinsong Ji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 19 14:08:28 PDT 2019
jsji created this revision.
jsji added reviewers: qcolombet, volkan.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
https://reviews.llvm.org/D60973 exposed the group extraction feature of
the BlockExtractor to llvm-extract.
However, the help message was not updated, so users might not be able to
know how to use this feature without looking into history/commits.
This patch just update the help message to show how to use this group
extraction feature.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D66438
Files:
llvm/tools/llvm-extract/llvm-extract.cpp
Index: llvm/tools/llvm-extract/llvm-extract.cpp
===================================================================
--- llvm/tools/llvm-extract/llvm-extract.cpp
+++ llvm/tools/llvm-extract/llvm-extract.cpp
@@ -74,8 +74,11 @@
// ExtractBlocks - The blocks to extract from the module.
static cl::list<std::string> ExtractBlocks(
- "bb", cl::desc("Specify <function, basic block> pairs to extract"),
- cl::ZeroOrMore, cl::value_desc("function:bb"), cl::cat(ExtractCat));
+ "bb",
+ cl::desc("Specify <function, basic block[;group]> pairs to extract, "
+ "region must be single entry."),
+ cl::ZeroOrMore, cl::value_desc("function:bb[;bb2...]"),
+ cl::cat(ExtractCat));
// ExtractAlias - The alias to extract from the module.
static cl::list<std::string>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66438.215978.patch
Type: text/x-patch
Size: 788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190819/2d781c72/attachment-0001.bin>
More information about the llvm-commits
mailing list