[yaml2obj] Refactor and abstract yaml2dwarf functions
authorChris Bieneman <beanz@apple.com>
Wed, 7 Dec 2016 22:30:15 +0000 (22:30 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 7 Dec 2016 22:30:15 +0000 (22:30 +0000)
commit7d7364ab4fecfd8cdf6f129df518922dacb53047
tree1dde94cac23d7339dd89a84158f4b0e8e61375f7
parent9408c6183054d824780fa4eaf5e67b9f640b78fd
[yaml2obj] Refactor and abstract yaml2dwarf functions

This abstracts the code for emitting DWARF binary from the DWARFYAML types into reusable interfaces that could be used by ELF and COFF.

llvm-svn: 288990
llvm/tools/yaml2obj/CMakeLists.txt
llvm/tools/yaml2obj/yaml2dwarf.cpp [new file with mode: 0644]
llvm/tools/yaml2obj/yaml2macho.cpp
llvm/tools/yaml2obj/yaml2obj.h