aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ObjectYAML/COFFYAML.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-06-27[yaml2obj] Remove --format option in favor of YAML tagsChris Bieneman1-0/+1
Summary: Our YAML library's handling of tags isn't perfect, but it is good enough to get rid of the need for the --format argument to yaml2obj. This patch does exactly that. Instead of requiring --format, it infers the format based on the tags found in the object file. The supported tags are: !ELF !COFF !mach-o !fat-mach-o I have a corresponding patch that is quite large that fixes up all the in-tree test cases. Reviewers: rafael, Bigcheese, compnerd, silvas Subscribers: compnerd, llvm-commits Differential Revision: http://reviews.llvm.org/D21711 llvm-svn: 273915
2016-06-02[COFF] Expose the PE debug data directory and dump itReid Kleckner1-1/+1
This directory is used to find if there is a PDB associated with an executable. I plan to use this functionality to teach llvm-symbolizer whether it should use DIA or DWARF to symbolize a given DLL. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D20885 llvm-svn: 271539
2016-03-17Forgot to commit this with r263692David Majnemer1-1/+1
llvm-svn: 263721
2016-03-01Move ObjectYAML code to a new library.Rafael Espindola1-0/+503
It is only ever used by obj2yaml and yaml2obj. No point in linking it everywhere. llvm-svn: 262368