[obj2yaml] Support ELF input format in the obj2yaml tool.
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 14 May 2014 05:07:47 +0000 (05:07 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 14 May 2014 05:07:47 +0000 (05:07 +0000)
commitb8236e532a9bc5e0c6684a0b51f808d4754272bd
tree6b8bb07cc323e06c40b3fa126a36294478296c86
parent0fe443d8932b68ebbe281141ef79f81ee97e292d
[obj2yaml] Support ELF input format in the obj2yaml tool.

The ELF header e_flags field in the MIPS related test cases handled
incorrectly. The obj2yaml prints too many flags. I will fix that in the
next patches.

The patch reviewed by Michael Spencer and Sean Silva.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208752 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/ELFYAML.cpp
test/Object/obj2yaml.test
tools/obj2yaml/CMakeLists.txt
tools/obj2yaml/elf2yaml.cpp [new file with mode: 0644]
tools/obj2yaml/obj2yaml.cpp
tools/obj2yaml/obj2yaml.h