llvm-project/llvm/lib/ProfileData
Max Moroz 0c5b602015 [Coverage] Take filenames into account when loading function records.
Summary:
Don't skip functions with the same name but from different files.

That change makes it possible to generate code coverage reports from
different binaries compiled from different sources even if there are functions
with non-unique names. Without that change, code coverage for such functions is
missing except of the first function processed.

Reviewers: vsk, morehouse

Reviewed By: vsk

Subscribers: llvm-commits, kcc

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

llvm-svn: 331801
2018-05-08 19:26:51 +00:00
..
Coverage [Coverage] Take filenames into account when loading function records. 2018-05-08 19:26:51 +00:00
CMakeLists.txt GCOV: Move GCOV from IR & Support into ProfileData to fix layering 2017-11-03 20:57:10 +00:00
GCOV.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
InstrProf.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
InstrProfReader.cpp [profile] Fix binary format reader error propagation. 2018-04-13 15:04:36 +00:00
InstrProfWriter.cpp Revert "Revert "[InstrProf] Support for external functions in text format."" 2018-03-22 21:26:52 +00:00
LLVMBuild.txt Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
ProfileSummaryBuilder.cpp [ProfileData] Change std::sort to llvm::sort in response to r327219 2018-04-13 19:46:36 +00:00
SampleProf.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SampleProfReader.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SampleProfWriter.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00