What's the command to reproduce the crash? Thanks.
Oops it was in the file but then got reduced away, see below.
John
$ /Users/regehr/creduce-install/libexec/clang_delta
--transformation=replace-function-def-with-decl --counter=1 foo.c
clang_delta(24623,0x7fff7e92e300) malloc: ***
mach_vm_map(size=140513733828608) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type
std::bad_alloc: std::bad_alloc
Abort trap: 6