[PATCH] D28173: [asan] Use exact comparison in BufferedStackTrace::LocatePcInTrace

Evgeniy Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 14:35:37 PST 2017


eugenis added a comment.

What if we used GET_CALLER_PC in the interceptor functions instead of GET_CURRENT_PC_BP_SP? That would provide an address in the user code, which MatchPc could match exactly and take one step back to get the interceptor frame?


https://reviews.llvm.org/D28173





More information about the llvm-commits mailing list