llvm-cov: Require a subcommand when invoked as llvm-cov
authorJustin Bogner <mail@justinbogner.com>
Tue, 24 Mar 2015 23:34:36 +0000 (23:34 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 24 Mar 2015 23:34:36 +0000 (23:34 +0000)
commitb9e97c799e5e9caa748b863593427b6af1c9e4aa
tree1ee306e07d133c8325b33b8e57e4c84d9fd9b92e
parent4e933df738681d62a70f0e02262d6489eb7d8893
llvm-cov: Require a subcommand when invoked as llvm-cov

A while ago llvm-cov gained support for clang's instrumentation based
profiling in addition to its gcov support, and subcommands were added
to choose which behaviour to use. When no subcommand was specified, we
fell back to gcov compatibility with a warning that a subcommand would
be required in the future. Now, we require the subcommand.

Note that if the basename of llvm-cov is gcov (via symlink or
hardlink, for example), we still use the gcov compatible behaviour
with no subcommand required.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233132 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-cov/copy_block_helper.m
test/tools/llvm-cov/llvm-cov.test
test/tools/llvm-cov/range_based_for.cpp
tools/llvm-cov/llvm-cov.cpp