[PATCH] D14918: [tsan] Fix CallocOverflow unit test on OS X

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 05:28:28 PST 2015


kubabrecka added a comment.

In http://reviews.llvm.org/D14918#294890, @dvyukov wrote:

> Can we use __interceptor_calloc instead like in other tests? Behavior in such case will be closer to user programs as the interceptor can also contain some logic.


Sure, I'll update the patch.  (I thought user_calloc is more consistent with the rest of this file, which uses user_alloc and user_free.)


http://reviews.llvm.org/D14918





More information about the llvm-commits mailing list