This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 06/10/2016 07:42 PM, Paul Eggert wrote:
Perhaps the test program should be retained and should check that the hidden __malloc_get_state function indeed returns NULL? Dunno how you'd test __malloc_set_state....
I'm working on a test which emulates what Emacs is doing. It's not very hard (just create something resembling a heap dump in the .data section), it's just a little bit of work to get the self-checking right, without being able to use malloc to do any book-keeping.
Unfortunately, the existing tst-mallocstate test doesn't really say if the heap dump/undump logic is compatible with Emacs.
Florian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |