mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
be4f05ba0b
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 |
||
---|---|---|
.. | ||
CallContext.h | ||
CMakeLists.txt | ||
ErrorHandling.h | ||
llvm-profgen.cpp | ||
PerfReader.cpp | ||
PerfReader.h | ||
ProfiledBinary.cpp | ||
ProfiledBinary.h | ||
ProfileGenerator.cpp | ||
ProfileGenerator.h | ||
PseudoProbe.cpp | ||
PseudoProbe.h |