summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/scan-directory.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-cov] Get rid of all invalid filename referencesVedant Kumar2016-09-231-4/+14
| | | | | | | | | | | | | | We used to append filenames into a vector of std::string, and then append a reference to each string into a separate vector. This made it easier to work with the getUniqueSourceFiles API. But it's buggy. std::string has a small-string optimization, so you can't expect to capture a reference to one if you're copying it into a growing vector. Add a test that triggers this invalid reference to std::string scenario, and kill the issue with fire by just using ArrayRef<std::string> everywhere. llvm-svn: 282281
* [llvm-cov] Add the ability to specify directories of input source filesVedant Kumar2016-09-221-0/+9
We've supported restricting coverage reports to a set of files for a long time. Add support for being able to restrict by entire directories. I suppose this supersedes D20803. llvm-svn: 282202
OpenPOWER on IntegriCloud