Chromium Code Reviews| Index: pydir/sz_clang_dummies.c |
| diff --git a/pydir/sz_clang_dummies.c b/pydir/sz_clang_dummies.c |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d0abc94cba3da6594af155bde9294de8a9282e4e |
| --- /dev/null |
| +++ b/pydir/sz_clang_dummies.c |
| @@ -0,0 +1,13 @@ |
| +#include <stdlib.h> |
| + |
| +#ifdef __cplusplus |
| +extern "C" { |
| +#endif |
| + |
| +void *__asan_dummy_calloc(size_t nmemb, size_t size) { |
| + return calloc(nmemb, size); |
| +} |
| + |
| +#ifdef __cplusplus |
| +} // extern "C" |
| +#endif |