server-skynet-source-3rd-je.../test
Jason Evans b2c31660be Extract profiling code from [re]allocation functions.
Extract profiling code from malloc(), imemalign(), calloc(), realloc(),
mallocx(), rallocx(), and xallocx().  This slightly reduces the amount
of code compiled into the fast paths, but the primary benefit is the
combinatorial complexity reduction.

Simplify iralloc[t]() by creating a separate ixalloc() that handles the
no-move cases.

Further simplify [mrxn]allocx() (and by implication [mrn]allocm()) to
make request size overflows due to size class and/or alignment
constraints trigger undefined behavior (detected by debug-only
assertions).

Report ENOMEM rather than EINVAL if an OOM occurs during heap profiling
backtrace creation in imemalign().  This bug impacted posix_memalign()
and aligned_alloc().
2014-01-12 15:41:05 -08:00
..
include/test Add util unit tests, and fix discovered bugs. 2014-01-06 20:41:09 -08:00
integration Extract profiling code from [re]allocation functions. 2014-01-12 15:41:05 -08:00
src Add zero/align tests for rallocx(). 2013-12-15 15:54:18 -08:00
unit Add junk/zero filling unit tests, and fix discovered bugs. 2014-01-07 16:54:17 -08:00
test.sh.in Streamline test output. 2013-12-12 14:58:26 -08:00