On 28 November 2017 at 17:28, Zachary Turner via lldb-commits <lldb-commits@lists.llvm.org> wrote: > > > On Tue, Nov 28, 2017 at 2:48 AM Pavel Labath via Phabricator via > lldb-commits <lldb-commits@lists.llvm.org> wrote: >> >> 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). > > > 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. >
Fair enough. I don't really care about the name, I just wanted to make sure someone doesn't go off reimplementing elf serialization, when there isn't much missing from yaml2obj to make that work. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits