Open
Bug 1063697
Opened 10 years ago
Updated 2 years ago
configure.in tests for js/src/shell/js.cpp's ShellMallocSizeOf don't pick up header for malloc_size on Mac
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
NEW
People
(Reporter: jimb, Assigned: jimb)
Details
Attachments
(1 file)
1.74 KB,
patch
|
Details | Diff | Splinter Review |
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).
Assignee | ||
Comment 1•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=73b0bc9d21e7
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•