[xray] Remove cl::sub from alias options
authorShoaib Meenai <smeenai@fb.com>
Fri, 10 Jan 2020 06:02:57 +0000 (22:02 -0800)
committerShoaib Meenai <smeenai@fb.com>
Fri, 10 Jan 2020 06:05:14 +0000 (22:05 -0800)
commit995c18fc5051850782b1c096233867b8e56e0dea
treee233700ff7769f6f69702e588eb0f4f76f83a0a4
parent21a4710c67a97838dd75cf60ed24da11280800f8
[xray] Remove cl::sub from alias options

Currently running the xray tools generates a number of errors:

$ ./bin/llvm-xray
: for the   -k option: cl::alias must not have cl::sub(), aliased option's cl::sub() will be used!
: for the   -d option: cl::alias must not have cl::sub(), aliased option's cl::sub() will be used!
: for the   -o option: cl::alias must not have cl::sub(), aliased option's cl::sub() will be used!
: for the   -f option: cl::alias must not have cl::sub(), aliased option's cl::sub() will be used!
: for the   -s option: cl::alias must not have cl::sub(), aliased option's cl::sub() will be used!
: for the   -r option: cl::alias must not have cl::sub(), aliased option's cl::sub() will be used!
: for the   -p option: cl::alias must not have cl::sub(), aliased option's cl::sub() will be used!
: for the   -m option: cl::alias must not have cl::sub(), aliased option's cl::sub() will be used!
<snip>

Patch by Ryan Mansfield.

Differential Revision: https://reviews.llvm.org/D69386
llvm/tools/llvm-xray/xray-account.cpp
llvm/tools/llvm-xray/xray-converter.cpp
llvm/tools/llvm-xray/xray-extract.cpp
llvm/tools/llvm-xray/xray-graph-diff.cpp
llvm/tools/llvm-xray/xray-graph.cpp
llvm/tools/llvm-xray/xray-stacks.cpp