]> granicus.if.org Git - llvm/commit
[llvm-objcopy] Initial COFF support
authorMartin Storsjo <martin@martin.st>
Wed, 19 Dec 2018 07:24:38 +0000 (07:24 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 19 Dec 2018 07:24:38 +0000 (07:24 +0000)
commite318fd6a26d59a1a6fb47e8575fa6587975faf8d
tree4b3c8cdd55af4ee37e8eec88e2a8f3c27a5f845c
parent35e719f872a563aaebfc9c44b3fd50c7cebdc855
[llvm-objcopy] Initial COFF support

This is an initial implementation of no-op passthrough copying of COFF
with objcopy.

Differential Revision: https://reviews.llvm.org/D54939

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349605 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/llvm/Object/COFF.h
lib/Object/COFFObjectFile.cpp
test/tools/llvm-objcopy/COFF/Inputs/i386-exe.yaml [new file with mode: 0644]
test/tools/llvm-objcopy/COFF/Inputs/i386-obj.yaml [new file with mode: 0644]
test/tools/llvm-objcopy/COFF/Inputs/x86_64-exe.yaml [new file with mode: 0644]
test/tools/llvm-objcopy/COFF/Inputs/x86_64-obj.yaml [new file with mode: 0644]
test/tools/llvm-objcopy/COFF/basic-copy.test [new file with mode: 0644]
tools/llvm-objcopy/CMakeLists.txt
tools/llvm-objcopy/COFF/COFFObjcopy.cpp [new file with mode: 0644]
tools/llvm-objcopy/COFF/COFFObjcopy.h [new file with mode: 0644]
tools/llvm-objcopy/COFF/Object.h [new file with mode: 0644]
tools/llvm-objcopy/COFF/Reader.cpp [new file with mode: 0644]
tools/llvm-objcopy/COFF/Reader.h [new file with mode: 0644]
tools/llvm-objcopy/COFF/Writer.cpp [new file with mode: 0644]
tools/llvm-objcopy/COFF/Writer.h [new file with mode: 0644]
tools/llvm-objcopy/llvm-objcopy.cpp