[yaml2obj] Initial ELF support.
authorSean Silva <silvas@purdue.edu>
Mon, 10 Jun 2013 23:44:15 +0000 (23:44 +0000)
committerSean Silva <silvas@purdue.edu>
Mon, 10 Jun 2013 23:44:15 +0000 (23:44 +0000)
commitf99309cb08d9ec2a7e1593be2b0fb937eb425550
treee29ba30ac87399a093fe517deb7b4d0fc0db81ad
parenta2292d0b8fb291fa15b41b4f256f576abe965e98
[yaml2obj] Initial ELF support.

Currently, only emitting the ELF header is supported (no sections or
segments).

The ELFYAML code organization is broadly similar to the COFFYAML code.

llvm-svn: 183711
14 files changed:
llvm/include/llvm/Object/ELFYAML.h [new file with mode: 0644]
llvm/lib/Object/CMakeLists.txt
llvm/lib/Object/ELFYAML.cpp [new file with mode: 0644]
llvm/test/Object/Inputs/ELF/BE32.yaml [new file with mode: 0644]
llvm/test/Object/Inputs/ELF/BE64.yaml [new file with mode: 0644]
llvm/test/Object/Inputs/ELF/Header.yaml [new file with mode: 0644]
llvm/test/Object/Inputs/ELF/LE32.yaml [new file with mode: 0644]
llvm/test/Object/Inputs/ELF/LE64.yaml [new file with mode: 0644]
llvm/test/Object/yaml2obj-elf-basic.test [new file with mode: 0644]
llvm/test/Object/yaml2obj-elf-bits-endian.test [new file with mode: 0644]
llvm/tools/yaml2obj/CMakeLists.txt
llvm/tools/yaml2obj/yaml2elf.cpp [new file with mode: 0644]
llvm/tools/yaml2obj/yaml2obj.cpp
llvm/tools/yaml2obj/yaml2obj.h