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

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 28 09:28:56 PST 2017

On Tue, Nov 28, 2017 at 2:48 AM Pavel Labath via Phabricator via
lldb-commits <lldb-commits at lists.llvm.org> wrote:

> 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).

yes but a windows core file (i.e. minidump) is not a coff file.  So I think
a tool like yaml2core would be useful, and for the ELF case it can simply
link against the same code that yaml2obj is using for elv.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171128/8a9d0f42/attachment.html>

More information about the lldb-commits mailing list