llvm-project/llvm/tools/llvm-profgen
Hongtao Yu 0057c7185d [CSSPGO][llvm-profgen] Truncate stack samples with invalid return address.
Invalid frame addresses exist in call stack samples due to bad unwinding. This could happen to frame-pointer-based unwinding and the callee functions that do not have the frame pointer chain set up. It isn't common when the program is built with the frame pointer omission disabled, but can still happen with third-party static libs built with frame pointer omitted.

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D109638
2021-09-14 21:56:22 -07:00
..
CMakeLists.txt [CSSPGO] Migrate and refactor the decoder of Pseudo Probe 2021-08-04 09:21:34 -07:00
CSPreInliner.cpp [CSSPGO] Add stats for pre-inliner 2021-09-01 20:03:50 -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] Split context string to deduplicate function name used in the context. 2021-08-30 20:09:29 -07:00
ErrorHandling.h [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]] 2021-07-28 09:31:14 -07:00
PerfReader.cpp [CSSPGO][llvm-profgen] Truncate stack samples with invalid return address. 2021-09-14 21:56:22 -07:00
PerfReader.h [CSSPGO][llvm-profgen] Truncate stack samples with invalid return address. 2021-09-14 21:56:22 -07:00
ProfileGenerator.cpp [llvm-profgen] Ignore broken LBR samples 2021-09-14 12:11:17 -07:00
ProfileGenerator.h [CSSPGO] Split context string to deduplicate function name used in the context. 2021-08-30 20:09:29 -07:00
ProfiledBinary.cpp [llvm-profgen] Support LBR only perf script 2021-08-31 13:28:17 -07:00
ProfiledBinary.h [CSSPGO][llvm-profgen] Truncate stack samples with invalid return address. 2021-09-14 21:56:22 -07:00
llvm-profgen.cpp [llvm-profgen] Support LBR only perf script 2021-08-31 13:28:17 -07:00