[obj2yaml] Refactor and abstract dwarf2yaml
authorChris Bieneman <beanz@apple.com>
Wed, 7 Dec 2016 21:47:28 +0000 (21:47 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 7 Dec 2016 21:47:28 +0000 (21:47 +0000)
commit26d060fbf9fe5525f06f13c398ad1c564528fe57
tree8544b5262853338ce148e8452a709fb389ba53e5
parentc53606ef02fa14e199c2ad65956ea33b5eb698f0
[obj2yaml] Refactor and abstract dwarf2yaml

This makes the dwarf2yaml code separated and reusable allowing ELF and COFF to share implementations with MachO.

llvm-svn: 288986
llvm/tools/obj2yaml/CMakeLists.txt
llvm/tools/obj2yaml/dwarf2yaml.cpp [new file with mode: 0644]
llvm/tools/obj2yaml/macho2yaml.cpp
llvm/tools/obj2yaml/obj2yaml.h