mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +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 |
||
---|---|---|
.. | ||
README | ||
test_-a_-b_-c_-u.cpp.gcov | ||
test_-a_-b_-c_-u.h.gcov | ||
test_-a_-b_-u.cpp.gcov | ||
test_-a_-b_-u.h.gcov | ||
test_-a_-b.cpp.gcov | ||
test_-a_-b.h.gcov | ||
test_-a.cpp.gcov | ||
test_-a.h.gcov | ||
test_-b_-f.output | ||
test_-b.output | ||
test_-f.output | ||
test_file_checksum_fail.gcda | ||
test_func_checksum_fail.gcda | ||
test_no_gcda.cpp.gcov | ||
test_no_gcda.h.gcov | ||
test_no_gcda.output | ||
test_no_options.cpp.gcov | ||
test_no_options.h.gcov | ||
test_no_options.output | ||
test_no_preserve_paths.output | ||
test_objdir.cpp.gcov | ||
test_objdir.h.gcov | ||
test_paths.cpp.gcov | ||
test_paths.gcda | ||
test_paths.gcno | ||
test_paths.h.gcov | ||
test_preserve_paths.output | ||
test_read_fail.gcno | ||
test.cpp | ||
test.gcda | ||
test.gcno | ||
test.h |
These inputs were pre-generated to allow for easier testing of llvm-cov. test.gcno and test.gcda were create by running clang: clang++ -g -ftest-coverage -fprofile-arcs test.cpp test.cpp.gcov was created by running gcov 4.2.1: gcov test.cpp