Justin Bogner
de15817ea2
InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used
...
It's not entirely clear to me what this field was meant for, but it's
always false. Remove it.
llvm-svn: 228034
2015-02-03 21:35:36 +00:00
Justin Bogner
a829fde160
llvm-cov: Prevent a test from matching its own check lines
...
Since llvm-cov shows the source file in its output, be careful about
potentially matching the check lines themselves.
llvm-svn: 218138
2014-09-19 19:04:08 +00:00
Justin Bogner
3d7260e7b2
Revert "llvm-cov: Remove an overly system specific test"
...
This fixes a call to sys::fs::equivalent that should've been to
CodeCoverageTool::equivalentFiles, which lets us restore the test of
r217476 that was removed in r217478.
This reverts r217478, but the test works this time.
llvm-svn: 217646
2014-09-11 23:20:48 +00:00
Justin Bogner
3f81d4953a
llvm-cov: Fix a misuse of ArrayRef::slice I introduced in r217430
...
It appears this code was completely untested, so using ArrayRef wrong
didn't break anything obvious.
llvm-svn: 217476
2014-09-10 06:06:07 +00:00