This patch adds a tool called 'obj2yaml', which takes an object file, and produces a YAML representation of the file. This is a companion tool to Michael Spencer's proposed "yaml2obj" tool. This tool processes only COFF files; the plan is to enhance it to handle other object formats, as well as object archives. The primary uses for this tool is expected to be: 1) Debugging object files that are produced by llvm and lld. 2) Automated testing suites. The goal is to have obj2yaml and yaml2obj be inverse operations, so that one can test either by using the other. So, both obj -> yaml -> obj and yaml -> obj -> yaml are expected to be idempotent. -- Marshall Marshall Clow Idio Software <mailto:mclow.lists at gmail.com> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki -------------- next part -------------- A non-text attachment was scrubbed... Name: obj2yaml.patch Type: application/octet-stream Size: 20832 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120608/eb9b8b2f/attachment.obj>