llvm-project/llvm/lib/ProfileData
Dehao Chen 100424124b Tolerate negative offset when matching sample profile.
In some cases (as illustrated in the unittest), lineno can be less than the heade_lineno because the function body are included from some other files. In this case, offset will be negative. This patch makes clang still able to match the profile to IR in this situation.

http://reviews.llvm.org/D13914

llvm-svn: 250873
2015-10-21 01:22:27 +00:00
..
CMakeLists.txt modules: Add explicit dependency on intrinsics_gen 2015-06-16 00:44:12 +00:00
CoverageMapping.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
CoverageMappingReader.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
CoverageMappingWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
InstrProf.cpp InstrProf: Support for value profiling in the indexed profile format 2015-09-29 22:13:58 +00:00
InstrProfReader.cpp Minor Instr PGO code restructuring 2015-10-18 01:02:29 +00:00
InstrProfWriter.cpp Minor Instr PGO code restructuring 2015-10-18 01:02:29 +00:00
LLVMBuild.txt LLVMProfileData: Update LLVMBuild.txt corresponding to r217437. 2014-09-09 15:00:13 +00:00
Makefile
SampleProf.cpp Sample profiles - Add a name table to the binary encoding. 2015-10-13 22:48:46 +00:00
SampleProfReader.cpp Tolerate negative offset when matching sample profile. 2015-10-21 01:22:27 +00:00
SampleProfWriter.cpp Sample profiles - Re-arrange binary format to emit head samples only on top functions. 2015-10-16 18:54:35 +00:00