diff options
author | Dean Michael Berris <dberris@google.com> | 2017-03-29 04:55:45 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2017-03-29 04:55:45 +0000 |
commit | f454301b56e9dda8caecad727ba80797387abd3d (patch) | |
tree | 22597c5cf914ab85f2b880e6d9870efa4e132236 /llvm/test/tools/llvm-xray | |
parent | d8ca74176e25bd4080ee81982819e2ef7a36553f (diff) | |
download | bcm5719-llvm-f454301b56e9dda8caecad727ba80797387abd3d.tar.gz bcm5719-llvm-f454301b56e9dda8caecad727ba80797387abd3d.zip |
[XRay][tools] Handle "no subcommand" case for llvm-xray
Summary:
Currently the llvm-xray commandline tool fails to handle the case for
when no subcommand is provided in a graceful manner. This fixes that to
print the help message explaining the subcommands and the available
options.
Reviewers: pcc, pelikan
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D31409
llvm-svn: 298975
Diffstat (limited to 'llvm/test/tools/llvm-xray')
-rw-r--r-- | llvm/test/tools/llvm-xray/X86/no-subcommand-noassert.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-xray/X86/no-subcommand-noassert.txt b/llvm/test/tools/llvm-xray/X86/no-subcommand-noassert.txt new file mode 100644 index 00000000000..3de328d73a4 --- /dev/null +++ b/llvm/test/tools/llvm-xray/X86/no-subcommand-noassert.txt @@ -0,0 +1,3 @@ +; RUN: llvm-xray | FileCheck %s + +; CHECK: OVERVIEW: XRay Tools |