[llvm-elfabi] Emit ELF header and string table sections
authorHaowei Wu <haowei@google.com>
Tue, 29 Sep 2020 05:10:54 +0000 (22:10 -0700)
committerHaowei Wu <haowei@google.com>
Mon, 23 Nov 2020 20:18:58 +0000 (12:18 -0800)
commitcf4330871844f58075023a9ace9ba0728cf48d57
tree849e09f032f859f334f341cfe267650a06ae8521
parent9f3edc323a88c1a179a0a5a9dc9a87a2964c0d48
[llvm-elfabi] Emit ELF header and string table sections

This change serves to create the initial framework for outputting ELF
files from llvm-elfabi.

Differential Revision: https://reviews.llvm.org/D61767
llvm/include/llvm/InterfaceStub/ELFObjHandler.h
llvm/lib/InterfaceStub/CMakeLists.txt
llvm/lib/InterfaceStub/ELFObjHandler.cpp
llvm/test/tools/llvm-elfabi/fail-file-write-windows.test [new file with mode: 0644]
llvm/test/tools/llvm-elfabi/fail-file-write.test [new file with mode: 0644]
llvm/test/tools/llvm-elfabi/output-target-error.test [new file with mode: 0644]
llvm/test/tools/llvm-elfabi/write-stub.test [new file with mode: 0644]
llvm/tools/llvm-elfabi/llvm-elfabi.cpp