[PATCH] D81855: [llvm-readobj] set --elf-cg-profile as alias of --cg-profile
Zequan Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 15 12:04:17 PDT 2020
zequanwu updated this revision to Diff 270811.
zequanwu added a comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81855/new/
https://reviews.llvm.org/D81855
Files:
llvm/tools/llvm-readobj/llvm-readobj.cpp
Index: llvm/tools/llvm-readobj/llvm-readobj.cpp
===================================================================
--- llvm/tools/llvm-readobj/llvm-readobj.cpp
+++ llvm/tools/llvm-readobj/llvm-readobj.cpp
@@ -345,8 +345,11 @@
cl::desc("Alias for --elf-hash-histogram"),
cl::aliasopt(HashHistogram));
- // --elf-cg-profile
- cl::opt<bool> CGProfile("elf-cg-profile", cl::desc("Display callgraph profile section"));
+ // --cg-profile
+ cl::opt<bool> CGProfile("cg-profile",
+ cl::desc("Display callgraph profile section"));
+ cl::alias ELFCGProfile("elf-cg-profile", cl::desc("Alias for --cg-profile"),
+ cl::aliasopt(CGProfile));
// -addrsig
cl::opt<bool> Addrsig("addrsig",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81855.270811.patch
Type: text/x-patch
Size: 795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200615/28438686/attachment.bin>
More information about the llvm-commits
mailing list