Open Bug 1063697 Opened 7 years ago Updated 7 years ago
.in tests for js/src/shell/js .cpp's Shell Malloc Size Of don't pick up header for malloc _size on Mac
On Darwin, the malloc_size function, declared in <malloc/malloc.h>, will return the size of a malloc block, so we want to use it in ShellMallocSizeOf. However, our configure patch originally tested for malloc_size but not <malloc/malloc.h>, causing build failures. For expedience, I backed out the configure check for malloc_size altogether. We should get this working on Mac, and ideally on Windows as well (which has the _msize function).
You need to log in before you can comment on or make changes to this bug.