[PATCH] D27659: [sanitizer] intercept bstring functions

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 10:32:10 PST 2016

kcc added a comment.

In https://reviews.llvm.org/D27659#625206, @ygribov wrote:

> What's the said problem with wrapping btw?

First, it creates yet another frame. and may cause confusing stack traces. 
Second, it adds a call to memset to the tsan run-time, and we have a test that checks for absence of such calls.


More information about the llvm-commits mailing list