mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
8f223c891e
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
9 lines
244 B
Plaintext
9 lines
244 B
Plaintext
File 'srcdir/./nested_dir/../test.h'
|
|
Lines executed:100.00% of 1
|
|
srcdir/./nested_dir/../test.h:creating 'test.h.gcov'
|
|
|
|
File 'srcdir/./nested_dir/../test.cpp'
|
|
Lines executed:84.21% of 38
|
|
srcdir/./nested_dir/../test.cpp:creating 'test.cpp.gcov'
|
|
|