1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-cov/Inputs/test_-b.output
Justin Bogner 8f223c891e llvm-cov: Implement the preserve-paths flag
Until now, when a path in a gcno file included a directory, we would
emit our .gcov file in that directory, whereas gcov always emits the
file in the current directory. In doing so, this implements gcov's
strange name-mangling -p flag, which is needed to avoid clobbering
files when two with the same name exist in different directories.

The path mangling is a bit ugly and only handles unix-like paths, but
it's simple, and it doesn't make any guesses as to how it should
behave outside of what gcov documents. If we decide this should be
cross platform later, we can consider the compatibility implications
then.

llvm-svn: 200754
2014-02-04 10:45:02 +00:00

14 lines
251 B
Plaintext

File 'test.cpp'
Lines executed:84.21% of 38
Branches executed:100.00% of 15
Taken at least once:86.67% of 15
No calls
test.cpp:creating 'test.cpp.gcov'
File './test.h'
Lines executed:100.00% of 1
No branches
No calls
./test.h:creating 'test.h.gcov'