diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-03-05 08:29:56 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-03-05 08:29:56 +0000 |
commit | 9eafaa51561071c006e999db24436cf682c8528f (patch) | |
tree | 766e3884d2f92607c22939e4baf91d129113673b /lib | |
parent | da2f7b994640f399d709fa635d450b7b4160bf34 (diff) |
Increase threshold in StackTrace::LocatePcInTrace
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sanitizer_common/sanitizer_stacktrace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_stacktrace.cc b/lib/sanitizer_common/sanitizer_stacktrace.cc index 85c6fd591..89cee25ce 100644 --- a/lib/sanitizer_common/sanitizer_stacktrace.cc +++ b/lib/sanitizer_common/sanitizer_stacktrace.cc @@ -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; |