[gcov] Implement --stdout -t
authorFangrui Song <maskray@google.com>
Mon, 11 May 2020 00:16:01 +0000 (17:16 -0700)
committerFangrui Song <maskray@google.com>
Mon, 11 May 2020 04:02:38 +0000 (21:02 -0700)
commitf081150c4dc0131c5c7db904ea5070be037ea6d1
tree9c3e64291c3c544aa51945be7d65122f439b6949
parent3a8740bdd5c48a5e870f62401e22c0dde503d624
[gcov] Implement --stdout -t

gcov by default prints to a .gcov file. With --stdout, stdout is used.
Some summary information is omitted. There is no separator for multiple
source files.
llvm/include/llvm/ProfileData/GCOV.h
llvm/lib/ProfileData/GCOV.cpp
llvm/test/tools/llvm-cov/llvm-cov.test
llvm/tools/llvm-cov/gcov.cpp