Increase threshold in StackTrace::LocatePcInTrace

llvm-svn: 202950
This commit is contained in:
Alexey Samsonov 2014-03-05 08:29:56 +00:00
parent b5dab28db5
commit c8c38dbb18
1 changed files with 1 additions and 1 deletions

View File

@ -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;