Vedant Kumar
71d515b0b3
[llvm-cov] Relax a test for Windows
...
Attempt to address this bot failure:
http://bb.pgr.jp/builders/ninja-clang-i686-msc19-R/builds/4967
llvm-svn: 275522
2016-07-15 02:11:37 +00:00
Vedant Kumar
b95dc4608d
[llvm-cov] Improve error messages
...
While we're at it, extend an existing test to make sure that error
messages look reasonable.
llvm-svn: 275520
2016-07-15 01:53:39 +00:00
Vedant Kumar
d6d192cd12
[llvm-cov] Use relative paths to file reports in -output-dir mode
...
This makes it possible to e.g copy a report to another filesystem.
llvm-svn: 274173
2016-06-29 21:55:46 +00:00
Vedant Kumar
2ca5eaa85a
Fix a typo; NFC
...
llvm-svn: 274136
2016-06-29 16:23:34 +00:00
Vedant Kumar
4a54abeacd
[llvm-cov] Do not allow ".." to escape the coverage sub-directory
...
In -output-dir mode, file reports are placed into a "coverage"
directory. If filenames in the coverage mapping contain "..", they might
escape out of this directory.
Fix the problem by removing ".." from source filenames (expand the path
component).
llvm-svn: 274135
2016-06-29 16:22:12 +00:00