Skip to content
Commit 377cafbb authored by Kuba Brecka's avatar Kuba Brecka
Browse files

[tsan] Fix CallocOverflow unit test on OS X

On OS X, interceptors don't work in unit tests, so calloc() calls the system allocator. We need to use user_calloc() instead.

Differential Revision: http://reviews.llvm.org/D14918

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