labath added a comment.

On 28 November 2017 at 06:12, Zachary Turner via lldb-commits 
<lldb-commits@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



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to