1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/tools/llvm-profgen
wlei be4f05ba0b [CSSPGO][llvm-profgen] Filter out the instructions without location info for symbolizer
It appears some instructions doesn't have the debug location info and the symbolizer will return an empty call stack for them which will cause some crash later in profile unwinding. Actually we do not record the sample info for them, so this change just filter out those instruction.

As those instruction would appears at the begin and end of the instruction list, without them we need to add the boundary check for IP `advance` and `backward`.

Also for pseudo probe based profile, we actually don't need the symbolized location info, so here just change to use an empty stack for it. This could save half of the binary loading time.

Differential Revision: https://reviews.llvm.org/D96434
2021-02-12 16:47:49 -08:00
..
CallContext.h [CSSPGO][llvm-profgen] Instruction symbolization 2020-11-20 14:26:27 -08:00
CMakeLists.txt [CSSPGO][llvm-profgen] Pseudo probe decoding and disassembling 2021-01-13 11:02:57 -08:00
ErrorHandling.h
llvm-profgen.cpp [CSSPGO][llvm-profgen] Renovate perfscript check and command line input validation 2021-02-12 15:18:50 -08:00
PerfReader.cpp [CSSPGO][llvm-profgen] Filter out the instructions without location info for symbolizer 2021-02-12 16:47:49 -08:00
PerfReader.h [CSSPGO][llvm-profgen] Renovate perfscript check and command line input validation 2021-02-12 15:18:50 -08:00
ProfiledBinary.cpp [CSSPGO][llvm-profgen] Filter out the instructions without location info for symbolizer 2021-02-12 16:47:49 -08:00
ProfiledBinary.h [CSSPGO][llvm-profgen] Filter out the instructions without location info for symbolizer 2021-02-12 16:47:49 -08:00
ProfileGenerator.cpp [CSSPGO][llvm-profgen] Filter out the instructions without location info for symbolizer 2021-02-12 16:47:49 -08:00
ProfileGenerator.h [CSSPGO][llvm-profgen] Add brackets for context id to support extended binary format 2021-02-12 01:14:53 -08:00
PseudoProbe.cpp [CSSPGO][llvm-profgen] Compress recursive cycles in calling context 2021-02-03 22:16:07 -08:00
PseudoProbe.h [CSSPGO][llvm-profgen] Compress recursive cycles in calling context 2021-02-03 22:16:07 -08:00