llvm-cov: Add support for gcov's --long-file-names option
authorJustin Bogner <mail@justinbogner.com>
Wed, 23 Apr 2014 21:44:55 +0000 (21:44 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 23 Apr 2014 21:44:55 +0000 (21:44 +0000)
commitde2703ddfb7730fcfaf718f89b1561a539240a72
treeb4b9e4885dc9f8fc282680137e148396b3d224ff
parentedcd7c718f9312d3ca6d3501d8b844760b648cd3
llvm-cov: Add support for gcov's --long-file-names option

GCOV provides an option to prepend output file names with the source
file name, to disambiguate between covered data that's included from
multiple sources. Add a flag to llvm-cov that does the same.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207035 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GCOV.h
lib/IR/GCOV.cpp
test/tools/llvm-cov/Inputs/test_long_file_names.output [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test_long_paths.output [new file with mode: 0644]
test/tools/llvm-cov/llvm-cov.test
tools/llvm-cov/llvm-cov.cpp