need to fix arm and x86-64 alloca()