llvm-6502/tools/llvm-cov
Justin Bogner 9bdb194b86 llvm-cov: Simplify coverage reports, fixing PR22575 in the process
PR22575 occurred because we were unsafely storing references into a
std::vector. If the vector moved because it grew, we'd be left
iterating through garbage memory. This avoids the issue by simplifying
the logic to gather coverage information as we go, rather than storing
it and iterating over it.

I'm relying on the existing tests showing that this is semantically
NFC, since it's difficult to hit the issue this fixes without
relatively large covered programs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229215 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-14 02:01:24 +00:00
..
CMakeLists.txt llvm-cov: Simplify coverage reports, fixing PR22575 in the process 2015-02-14 02:01:24 +00:00
CodeCoverage.cpp llvm-cov: Simplify coverage reports, fixing PR22575 in the process 2015-02-14 02:01:24 +00:00
CoverageFilters.cpp
CoverageFilters.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
CoverageReport.cpp llvm-cov: Simplify coverage reports, fixing PR22575 in the process 2015-02-14 02:01:24 +00:00
CoverageReport.h llvm-cov: Simplify coverage reports, fixing PR22575 in the process 2015-02-14 02:01:24 +00:00
CoverageSummaryInfo.cpp llvm-cov: Simplify coverage reports, fixing PR22575 in the process 2015-02-14 02:01:24 +00:00
CoverageSummaryInfo.h llvm-cov: Simplify coverage reports, fixing PR22575 in the process 2015-02-14 02:01:24 +00:00
CoverageViewOptions.h
gcov.cpp llvm-cov: Don't use llvm::outs() in library code 2015-01-23 23:09:27 +00:00
llvm-cov.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
LLVMBuild.txt
Makefile
RenderingSupport.h
SourceCoverageView.cpp
SourceCoverageView.h
TestingSupport.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00