llvm-project/llvm/lib/ProfileData
William Huang b105656207 [Sample Profile Reader] Fix potential integer overflow/infinite loop bug in sample profile reader
Change loop induction variable type to match the type of "SIZE" where it's compared against, to prevent infinite loop caused by overflow wraparound if there are more than 2^32 samples

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D132493
2022-08-23 20:35:23 +00:00
..
Coverage [llvm-cov] Improve error message by printing the object file name that produces error 2022-07-21 11:26:51 -07:00
CMakeLists.txt Reland "[memprof] Extend the index prof format to include memory profiles." 2022-02-17 22:09:52 -08:00
GCOV.cpp [llvm] Qualify auto in range-based for loops (NFC) 2022-08-13 12:55:42 -07:00
InstrProf.cpp [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
InstrProfCorrelator.cpp [llvm] Use value_or instead of getValueOr (NFC) 2022-06-18 23:07:11 -07:00
InstrProfReader.cpp [PGO] Report number of counts being dropped when a hash-mismatch happens 2022-07-15 14:53:59 -07:00
InstrProfWriter.cpp [memprof] Deduplicate and outline frame storage in the memprof profile. 2022-04-08 09:15:20 -07:00
MemProf.cpp [memprof] Deduplicate and outline frame storage in the memprof profile. 2022-04-08 09:15:20 -07:00
ProfileSummaryBuilder.cpp Remove unneeded cl::ZeroOrMore for cl::opt options 2022-06-04 00:10:42 -07:00
RawMemProfReader.cpp Fix reverse-iteration buildbot. 2022-08-19 14:21:05 -07:00
SampleProf.cpp ManagedStatic: remove many straightforward uses in llvm 2022-07-10 10:29:15 +02:00
SampleProfReader.cpp [Sample Profile Reader] Fix potential integer overflow/infinite loop bug in sample profile reader 2022-08-23 20:35:23 +00:00
SampleProfWriter.cpp [Support] Change compression::zlib::{compress,uncompress} to use uint8_t * 2022-07-13 16:26:54 -07:00