[PATCH] [obj2yaml] Recognize input file format automatically

Simon Atanasyan simon at atanasyan.com
Sat May 3 05:03:07 PDT 2014


Hi Bigcheese,

Recognize input file format automatically using llvm::object::ObjectFileinterface methods isCOFF(). The '-coff' command line option has been removed. It was not used in any test cases. As a part of this patch I reimplement error diagnostics in a more standard way.

http://reviews.llvm.org/D3602

Files:
  tools/obj2yaml/CMakeLists.txt
  tools/obj2yaml/Error.cpp
  tools/obj2yaml/Error.h
  tools/obj2yaml/coff2yaml.cpp
  tools/obj2yaml/obj2yaml.cpp
  tools/obj2yaml/obj2yaml.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3602.9059.patch
Type: text/x-patch
Size: 6713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140503/17bc12aa/attachment.bin>


More information about the llvm-commits mailing list