[compiler-rt] r254460 - [Sanitizer] Increase kPcThreshold in slow unwinder after r254395.
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 1 12:58:44 PST 2015
Author: samsonov
Date: Tue Dec 1 14:58:44 2015
New Revision: 254460
URL: http://llvm.org/viewvc/llvm-project?rev=254460&view=rev
Log:
[Sanitizer] Increase kPcThreshold in slow unwinder after r254395.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc?rev=254460&r1=254459&r2=254460&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc Tue Dec 1 14:58:44 2015
@@ -118,7 +118,7 @@ void BufferedStackTrace::PopStackFrames(
uptr BufferedStackTrace::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 = 304;
+ const int kPcThreshold = 320;
for (uptr i = 0; i < size; ++i) {
if (MatchPc(pc, trace[i], kPcThreshold))
return i;
More information about the llvm-commits
mailing list