mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
01c0550584
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200754 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
251 B
Plaintext
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'
|
|
|