1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +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
CMakeLists.txt
ErrorHandling.h
llvm-profgen.cpp
PerfReader.cpp [CSSPGO][llvm-profgen] Filter out the instructions without location info for symbolizer 2021-02-12 16:47:49 -08:00
PerfReader.h
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
PseudoProbe.cpp
PseudoProbe.h