Increase threshold in StackTrace::LocatePcInTrace
llvm-svn: 202950
This commit is contained in:
parent
b5dab28db5
commit
c8c38dbb18
|
@ -72,7 +72,7 @@ void StackTrace::PopStackFrames(uptr count) {
|
|||
uptr StackTrace::LocatePcInTrace(uptr pc) {
|
||||
// Use threshold to find PC in stack trace, as PC we want to unwind from may
|
||||
// slightly differ from return address in the actual unwinded stack trace.
|
||||
const int kPcThreshold = 256;
|
||||
const int kPcThreshold = 288;
|
||||
for (uptr i = 0; i < size; ++i) {
|
||||
if (MatchPc(pc, trace[i], kPcThreshold))
|
||||
return i;
|
||||
|
|
Loading…
Reference in New Issue