[obj2yaml] Recognize input file format using llvm::object::ObjectFile
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 7 May 2014 05:18:51 +0000 (05:18 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 7 May 2014 05:18:51 +0000 (05:18 +0000)
commit111454f4e95a1d228ff200194dd047178538e12a
treebdcbb127f569da077ab271be072caa5cbd53d502
parent3fe09b705c1604d2f90311d73d9e7f9562cbf9d8
[obj2yaml] Recognize input file format using llvm::object::ObjectFile
interface methods isCOFF().

The '-coff' command line option has been removed. It was not used in any
test cases.

The patch reviewed by Michael Spencer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208157 91177308-0d34-0410-b5e6-96231b3b80d8
tools/obj2yaml/CMakeLists.txt
tools/obj2yaml/Error.cpp [new file with mode: 0644]
tools/obj2yaml/Error.h [new file with mode: 0644]
tools/obj2yaml/coff2yaml.cpp
tools/obj2yaml/obj2yaml.cpp
tools/obj2yaml/obj2yaml.h