DescriptionVarious minor cctest fixes to make ASAN a bit happier.
* Running with ASAN needs more stack, so don't set resource constraints too
tight.
* Checking boot time memory usage doesn't make sense when running with ASAN,
it eats tons of memory for itself.
* Fixed a malloc/delete[] mismatch: Not surprisingly, the pointer wrapped by
a SmartArrayPointer should better be allocated by, well, NewArray...
Even with these 3 fixes, we still have a few failures when running our test
suite with ASAN. Most of them are either timeouts or failures caused by greatly
increased stack usage.
R=mstarzinger@chromium.org
Committed: http://code.google.com/p/v8/source/detail?r=14674
Patch Set 1 #
Total comments: 3
Patch Set 2 : Rebased. Feedback. Fixed ASAN check for GCC. #
Messages
Total messages: 4 (0 generated)
|