llvm-project/llvm/tools/llvm-profgen
wlei 5bf191a381 [llvm-profgen] Fix index out of bounds error while using ip.advance
Previously we assume there're some non-executing sections at the bottom of the text section so that we won't hit the array's bound. But on BOLTed binary, it turned out .bolt section is at the bottom of text section which can be profiled, then it crash llvm-profgen. This change try to fix it.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D113238
2021-11-05 18:38:40 -07:00
..
CMakeLists.txt [llvm-profgen] Switch to DWARF-based symbol and ranges 2021-10-29 09:59:12 -07:00
CSPreInliner.cpp [CSSPGO] Trim cold base profiles for the CS preinliner. 2021-10-27 22:50:27 -07:00
CSPreInliner.h [CSSPGO] Split context string to deduplicate function name used in the context. 2021-08-30 20:09:29 -07:00
CallContext.h [CSSPGO] Rename the field of SampleContextFrame 2021-10-04 19:06:59 -07:00
ErrorHandling.h [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] 2021-07-28 09:31:14 -07:00
PerfReader.cpp [llvm-profgen] Refactor the code of getHashCode 2021-11-02 19:56:20 -07:00
PerfReader.h [llvm-profgen] Refactor the code of getHashCode 2021-11-02 19:56:20 -07:00
ProfileGenerator.cpp [llvm-profgen] Fix index out of bounds error while using ip.advance 2021-11-05 18:38:40 -07:00
ProfileGenerator.h [llvm-profgen] Update total samples by accumulating all its body samples 2021-10-29 10:36:57 -07:00
ProfiledBinary.cpp [llvm-profgen] Fix index out of bounds error while using ip.advance 2021-11-05 18:38:40 -07:00
ProfiledBinary.h [llvm-profgen] Fix index out of bounds error while using ip.advance 2021-11-05 18:38:40 -07:00
llvm-profgen.cpp [llvm-profgen] Allow unsymbolized profile as perf input 2021-10-25 23:58:08 -07:00