summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-nm/llvm-nm.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-03-02 21:59:31 +0000
committerDavide Italiano <davide@freebsd.org>2016-03-02 21:59:31 +0000
commitf156763cfa7a562d672f29837ae71dcaed877766 (patch)
treee9a6fffb7246f580fffde6f4a470d5994dee89e8 /llvm/tools/llvm-nm/llvm-nm.cpp
parent2b77c4603d92f8a16f3a8660c339bceca9b96359 (diff)
downloadbcm5719-llvm-f156763cfa7a562d672f29837ae71dcaed877766.tar.gz
bcm5719-llvm-f156763cfa7a562d672f29837ae71dcaed877766.zip
[llvm-nm] Fix rendering of -s grouping with all the othe options.
llvm-svn: 262525
Diffstat (limited to 'llvm/tools/llvm-nm/llvm-nm.cpp')
-rw-r--r--llvm/tools/llvm-nm/llvm-nm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-nm/llvm-nm.cpp b/llvm/tools/llvm-nm/llvm-nm.cpp
index 50405a9bcfc..435e97e4d60 100644
--- a/llvm/tools/llvm-nm/llvm-nm.cpp
+++ b/llvm/tools/llvm-nm/llvm-nm.cpp
@@ -159,7 +159,8 @@ cl::alias JustSymbolNames("j", cl::desc("Alias for --just-symbol-name"),
// line.
cl::list<std::string> SegSect("s", cl::Positional, cl::ZeroOrMore,
cl::desc("Dump only symbols from this segment "
- "and section name, Mach-O only"));
+ "and section name, Mach-O only"),
+ cl::Grouping);
cl::opt<bool> FormatMachOasHex("x", cl::desc("Print symbol entry in hex, "
"Mach-O only"), cl::Grouping);
OpenPOWER on IntegriCloud