Skip to content
Commit 006aaaf5 authored by Vitaly Buka's avatar Vitaly Buka
Browse files

[asan] Fix comparison in BufferedStackTrace::LocatePcInTrace

Summary:
Debug builds can have larger distance between stack trace and PC on that stack.
If we assume that PC is always correct we can snap it to the nearest trace.

Reviewers: eugenis

Subscribers: llvm-commits, kubabrecka

Differential Revision: https://reviews.llvm.org/D28342

llvm-svn: 291173
parent 83963995
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment