llvm-project/llvm/tools/llvm-cov
Vedant Kumar 1a6a2b642b [ProfileData] Unify getInstrProf*SectionName helpers
This is a version of D32090 that unifies all of the
`getInstrProf*SectionName` helper functions. (Note: the build failures
which D32090 would have addressed were fixed with r300352.)

We should unify these helper functions because they are hard to use in
their current form. E.g we recently introduced more helpers to fix
section naming for COFF files. This scheme doesn't totally succeed at
hiding low-level details about section naming, so we should switch to an
API that is easier to maintain.

This is not an NFC commit because it fixes llvm-cov's testing support
for COFF files (this falls out of the API change naturally). This is an
area where we lack tests -- I will see about adding one as a follow up.

Testing: check-clang, check-profile, check-llvm.

Differential Revision: https://reviews.llvm.org/D32097

llvm-svn: 300381
2017-04-15 00:09:57 +00:00
..
CMakeLists.txt Retry: [llvm-cov] Add support for exporting coverage data to JSON 2016-07-26 22:50:58 +00:00
CodeCoverage.cpp [llvm-cov] Error-out when an unsupported format is used (PR32087) 2017-02-28 16:57:28 +00:00
CoverageExporterJson.cpp [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
CoverageFilters.cpp
CoverageFilters.h Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
CoverageReport.cpp Use the new member accessors of llvm::enumerate. 2017-03-13 16:32:08 +00:00
CoverageReport.h [llvm-cov] Demangle symbols in function summaries (fixes PR31394) 2017-02-05 20:11:03 +00:00
CoverageSummaryInfo.cpp [llvm-cov] Delete the NonCodeLines field, it was always dead 2016-09-19 01:46:01 +00:00
CoverageSummaryInfo.h [llvm-cov] Refactor logic for storing demangled symbols, NFC 2017-02-05 20:10:58 +00:00
CoverageViewOptions.h [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
LLVMBuild.txt Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
RenderingSupport.h NFC, add an "end namespace" comment for consistency 2016-06-23 16:27:08 +00:00
SourceCoverageView.cpp [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
SourceCoverageView.h Remove duplicated default move ctors/move assign. No functional change. 2016-10-27 15:23:44 +00:00
SourceCoverageViewHTML.cpp [llvm-cov] Avoid 0% when reporting something that's 0/0 2016-11-21 14:00:04 +00:00
SourceCoverageViewHTML.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +00:00
SourceCoverageViewText.cpp [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
SourceCoverageViewText.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +00:00
TestingSupport.cpp [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
gcov.cpp Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
llvm-cov.cpp Retry: [llvm-cov] Add support for exporting coverage data to JSON 2016-07-26 22:50:58 +00:00