summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/Inputs/test_no_preserve_paths.output
Commit message (Collapse)AuthorAgeFilesLines
* [gcov] Sort file info before printing itVedant Kumar2017-04-261-4/+4
| | | | | | | | | | | | | The order in which GCOV file info is printed depends on the string hash function. This makes some GCOV tests brittle, because the tests must be updated whenever the hash function changes. Sort the filenames before printing out the file info to solve the problem. This should be relatively cheap. Differential Revision: https://reviews.llvm.org/D32512 llvm-svn: 301371
* llvm-cov: Implement the preserve-paths flagJustin Bogner2014-02-041-0/+8
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
OpenPOWER on IntegriCloud