Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | only disable aligned_alloc if malloc was replaced but it wasn't | Rich Felker | 2020-06-10 | 1 | -1/+2 |
| | | | | | | | | | it both malloc and aligned_alloc have been replaced but the internal aligned_alloc still gets called, the replacement is a wrapper of some sort. it's not clear if this usage should be officially supported, but it's at least a plausibly interesting debugging usage, and easy to do. it should not be relied upon unless it's documented as supported at some later time. | ||||
* | move oldmalloc to its own directory under src/malloc | Rich Felker | 2020-06-03 | 1 | -0/+52 |
this sets the stage for replacement, and makes it practical to keep oldmalloc around as a build option for a while if that ends up being useful. only the files which are actually part of the implementation are moved. memalign and posix_memalign are entirely generic. in theory calloc could be pulled out too, but it's useful to have it tied to the implementation so as to optimize out unnecessary memset when implementation details make it possible to know the memory is already clear. |