llvm/tools/llvm-cov
Vedant Kumar 737d8b6809 [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300381 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-15 00:09:57 +00:00
..
CMakeLists.txt
CodeCoverage.cpp [llvm-cov] Error-out when an unsupported format is used (PR32087) 2017-02-28 16:57:28 +00:00
CoverageExporterJson.cpp
CoverageFilters.cpp
CoverageFilters.h
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
CoverageSummaryInfo.h [llvm-cov] Refactor logic for storing demangled symbols, NFC 2017-02-05 20:10:58 +00:00
CoverageViewOptions.h
gcov.cpp
llvm-cov.cpp
LLVMBuild.txt
RenderingSupport.h
SourceCoverageView.cpp
SourceCoverageView.h
SourceCoverageViewHTML.cpp
SourceCoverageViewHTML.h
SourceCoverageViewText.cpp
SourceCoverageViewText.h
TestingSupport.cpp [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00