src, test: node internals' postmortem metadata
Those changes are the first steps towards allowing debug tools to navigate some of Node's internals strucutres, giving more possibilities to developers doing post-mortem debugging. One example of what can be achieved with the symbols added is a new command being developed for llnode, which prints information about handles and requests on the queue for a core dump file.
Ref: https://github.com/nodejs/post-mortem/issues/46
Obs.: To add good tests for those changes, something like nodejs/build#777 is needed.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
- Building system
- Tools