[Lldb-commits] [PATCH] D40539: Allow using the object file name for debug symbol resolution

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 28 02:48:52 PST 2017


labath added a comment.

On 28 November 2017 at 06:12, Zachary Turner via lldb-commits <lldb-commits at lists.llvm.org> wrote:

> yaml2core would be an excellent idea for a tool.

An (elf) core file is an elf file, with metadata in the elf program headers, so I think this would naturally fit into yaml2obj. Unfortunately, yaml2obj currently does not support program headers (but there is a TODO to add that).  If that TODO is fixed, we would have a yaml representation of both core files and elf executables (which we also can't do because they have program headers, and yaml2obj strips them).

The tricky part there is the specifying the interaction between program headers and section headers, as they describe overlapping views of the same data.


https://reviews.llvm.org/D40539





More information about the lldb-commits mailing list