1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/include/llvm/ProfileData
Vedant Kumar f7f1e6f3b0 [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
..
Coverage [ProfileData] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-03-03 01:07:34 +00:00
InstrProf.h [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
InstrProfData.inc [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
InstrProfReader.h [ProfileData] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-03-03 01:07:34 +00:00
InstrProfWriter.h [ProfileData] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-03-03 01:07:34 +00:00
ProfileCommon.h [ProfileData] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-03-03 01:07:34 +00:00
SampleProf.h SamplePGO: convert callsite samples map key from callsite_location to callsite_location+callee_name 2017-04-13 19:52:10 +00:00
SampleProfReader.h SamplePGO ThinLTO ICP fix for local functions. 2017-03-14 17:33:01 +00:00
SampleProfWriter.h [ProfileData] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-03-03 01:07:34 +00:00