diff options
| author | Timur Iskhodzhanov <timurrrr@google.com> | 2013-11-29 13:15:25 +0000 | 
|---|---|---|
| committer | Timur Iskhodzhanov <timurrrr@google.com> | 2013-11-29 13:15:25 +0000 | 
| commit | 5ca41e3800624a9af410d87245c56917d59eeb54 (patch) | |
| tree | b8a051a012a0403537a088bf470b58dd7b5ef2f0 /compiler-rt/lib/sanitizer_common | |
| parent | a10c46f2ae5408326c844d19f26dbb1c1a601a6b (diff) | |
| download | bcm5719-llvm-5ca41e3800624a9af410d87245c56917d59eeb54.tar.gz bcm5719-llvm-5ca41e3800624a9af410d87245c56917d59eeb54.zip  | |
Increase the LocatePcInTrace PC threshold now that GET_STACK_TRACE_WITH_PC_AND_BP has grown
llvm-svn: 195957
Diffstat (limited to 'compiler-rt/lib/sanitizer_common')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cc b/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cc index f440937929d..12b1f9c50db 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cc @@ -161,7 +161,7 @@ static bool MatchPc(uptr cur_pc, uptr trace_pc, uptr threshold) {  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 = 96; +  const int kPcThreshold = 192;    for (uptr i = 0; i < size; ++i) {      if (MatchPc(pc, trace[i], kPcThreshold))        return i;  | 

