Use a larger C++ stack in asan builds
commit0e22727846d4e63f6c81c515354885b4123db824
authorBrett Simmers <bsimmers@fb.com>
Tue, 23 Sep 2014 22:27:07 +0000 (23 15:27 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 24 Sep 2014 18:00:19 +0000 (24 11:00 -0700)
treed9ab4efa8936b409227684c9125234acabe160aa
parent6c79dba74bda0e3a7d169daff001598711562a3d
Use a larger C++ stack in asan builds

Summary: asan builds use a lot more C++ stack in certain functions than normal
builds (40-50x more in some cases). This is a problem for some of our recursive
cfg traversal functions in the jit. A better fix would be to not recurse over
data structures that are sized by user code, but making the C++ stack bigger
will allow us to reenable the automated asan builds without rewriting a bunch
of things.

Reviewed By: @jdelong

Differential Revision: D1573383
hphp/runtime/base/program-functions.cpp
hphp/util/alloc.cpp
hphp/util/async-func.cpp
hphp/util/async-func.h